POST
/
api
/
v1
/
token
curl --request POST \
  --url https://api.camelai.com/api/v1/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sub": "<string>",
  "scopes": [
    "query"
  ],
  "ttl": 900,
  "src": "<string>",
  "tid": "<string>"
}'
{
  "access_token": "<string>",
  "token_type": "<string>",
  "expires_in": 123,
  "thread_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

The response is of type object.