Endpoint
POST token
Returns a JWT token with a 1-hour (3600-second) expiration, using OAuth2-based authentication with client_id and client_secret.
POST
Request
Header
string
required
Defines the expected response format. It must be set to
application/json.Body
The request body must include the client’s authentication credentials, following the OAuth2 standard:string
required
The client ID provided by mobway for your application.
string
required
The client secret provided by mobway for your application. It must be kept confidential.
Response
string
The token to be used as the Authentication header in other routes.
number
The token expiration time in seconds. By default, it is set to expire in 1 hour (3600 seconds).