Request new human token
POST/api/v1/usage/token
Requests a token for a human
Request
- application/json
Body
required
Array [
]
limits
object[]
required
type UsageType (string)required
Possible values: [conversational_seconds
, voice_synthesis_seconds
, token_cnt
]
value numberrequired
human_id stringrequired
The ID of the human that the token is for. (this is typically your user id from your system)
Responses
- 200
- 400
- 500
Token created successfully
- application/json
- Schema
- Example (from schema)
Schema
token stringrequired
Usage token, typically good for one request
{
"token": "string"
}
Invalid request data
Internal server error
Loading...