Skip to main content
POST
Create access token for user

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
mode
enum<string>
required

Mode of user identification

Available options:
login,
token,
email,
phone,
custom
identity
string
required

User identifier corresponding to the mode

finaltime
string

Absolute expiration time for the token

slidingtime
string

Sliding time period for the token

request_metadata
object

Additional metadata for the request

Response

Access token created successfully

status
string
Example:

"ok"

xtoken
string

The created access token