OAuth

Read Token

You must send the read_token obtained from the Create Key Pair endpoint to obtain the user's OAuth tokens.

The endpoint will return a 404 error until authentication is completed. Once the user completes their authentication flow the endpoint will return the access and refresh tokens. Afterwards the key pair will become locked and any further requests using a spent read_key will return a 404 error.`

get/o/read_token/

Request

  • Base URL
    http://api.cannoli.app/api/v1
  • Auth
    none declared

Query parameters

read_keystring

Read key obtained from the Create Key Pair endpoint

Response

Get OAuth token

access_tokenstring required
expires_ininteger required
token_type'Bearer' required
scopestring required
refresh_tokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.