api-keys

Generate Temp Token

Swap an API key for a short-lived token usable from JS clients.

The token is short-lived (TTL controlled by server) and stores the API key UID in Redis. The actual API key is never stored in Redis.

Usage: wss://host/api/speech/tts?token={returned_token}

get/api-keys/token

Response

Successful Response

tokenstring required

Temporary token to use as ?token= parameter in URLs

expires_atstring date-time required

Changes

No changes recorded. 3 of the 21 revisions have no diff computed, so they could not be searched.