The API token can be retrieved by calling the token endpoint.
To call any
/token
endpoints, you need to use a JWT token for authorization.
name
required
expires_at
Optional
{
"name": "string",
"expires_at": "string"
}
{
"code": 201,
"message": "Created",
"data": {
"id": "integer",
"name": "string",
"created_at": "string",
"expires_at": "string"
},
"links": {},
"errors": []
}
201
Created; created new API token.
403
Unauthorized. The request conflicts with (an) existing resource(s)
409
The request conflicts with (an) existing resource(s)