Create temporary API key
Create a temporary API key.
Authorization
Authorization
RequiredBearer <token>In: header
Request body
application/json
Requiredusage_type
RequiredstringThe intended usage of the temporary API key. Valid options: "transcribe_websocket"
expires_in_seconds
RequiredintegerThe expiration time of the temporary API key. The maximum expiration time is 3600 seconds.
Maximum:
3600
client_reference_id
stringA string provided by the client to identify the future API call (that uses the returned temporary API key) in API logs. It can be an ID, a JSON string, or any other text. The value does not have to be unique. If not provided, it will remain unspecified.
Response body
201
Created temporary API key.
api_key
RequiredstringThe created temporary API key.
expires_at
RequiredstringThe expiration datetime of the API key.
Format:
"date-time"
Errors
Created temporary API key.