Canary Speech

CreateOAuthToken

POST - /oauth/request-tokens

Description

Validates a given API Key and issues an access token and refresh token pair when successful.

Headers

Header KeyDescriptionExample
Csc-Api-Key
The API Key for this message. This is used as primary authentication with the server.
571CCF:SvJtIepDIolHFZMby7OuGPd9kYwJaWJ18Bp5/Q+6yiF...

Successful Response

A successful response

Field NameTypeDescription
accessTokenstring
refreshTokenstring
expiresInint32

Code Example