Generate a New Access Token
Generates a new Access Token for the client. These tokens are short-lived and should be used to make requests to the API from authenticated clients.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Cartesia-Version
Request
This endpoint expects an object.
grants
The permissions to be granted via the token.
expires_in
The number of seconds the token will be valid for since the time of generation. The maximum is 1 hour (3600 seconds).
Response
This endpoint returns an object.
token
The generated Access Token.