Token
Exchange API Key credentials for JWT tokens
Authorizations
Body
workspacestringRequired
Target workspace
apiKeyIdstringRequired
API Key id
apiKeySecretstringRequired
API Key secret
Responses
200
Successful response
application/json
400
Invalid input data
application/json
401
Authorization not provided
application/json
403
Insufficient access
application/json
500
Internal server error
application/json
post
POST /rest/auth/token HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 60
{
"workspace": "text",
"apiKeyId": "text",
"apiKeySecret": "text"
}
{
"accessToken": "text",
"expiresInSeconds": 1,
"refreshToken": "text",
"refreshExpiresInSeconds": 1
}