Wonder
post/api/v1/biz/token

Create an app token

Exchanges the application credentials. The token lifetime is defined by the credential configuration (default 1800 seconds). Cache the token on the server side and reuse it until it expires.

Header parameters

Authorizationrequired
string

HTTP Basic Auth credentials: `Basic base64(client_id:client_secret)`, where `client_id` is the username and `client_secret` is the password

Example: Basic base64(client_id:client_secret)

x-request-id
string

Example: {{$string.uuid}}

Content-typerequired
string

Example: application/json

Responses

Token issued.

envrequired
string

Credential environment, for example `UAT` or `PRODUCTION`

app_idrequired
string

Application identifier

expires_inrequired
integer

Token lifetime in seconds

token_typerequired
enum<string>

Fixed as 'Bearer'

Bearer

access_tokenrequired
string

The `biz_app` JWT