POST
/
users
/
create_dynamic_token_v2
curl --request POST \
  --url https://api.gan.ai/users/create_dynamic_token_v2 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "expiry_time": {
    "days": 123,
    "hours": 123,
    "minutes": 123
  },
  "token_name": "<string>"
}'
{
  "access_token": "<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
Successful Response

The response is of type object.