Skip to main content
POST
/
api
/
v1
/
admin-token
Generate admin access token
curl --request POST \
  --url https://apix.us.amity.co/api/v1/admin-token \
  --header 'Authorization: Bearer <token>'
{
  "adminToken": "<string>",
  "issuedAt": "2023-11-07T05:31:56Z",
  "expiresAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Admin access token information

Admin access token response payload

adminToken
string

The generated admin access token

issuedAt
string<date-time>

The time when the token was issued

expiresAt
string<date-time>

The time when the token will expire