OAuth2

Authenticate User

post/oauth/token

Request

  • Base URL: https://api.carbonvoice.app
  • URL: https://api.carbonvoice.app/oauth/token
  • Auth: none declared

Request body

redirect_uristring required

The URL to which Auth will redirect the browser after authorization has been granted by the user.

codestring required

The authorization code when grant_type is set to "authorization_code"

grant_typestring required

The type of grant you are requesting, "client_credentials","refresh_token","authorization_code"

refreshTokenstring
code_verifierstring

The code verifier when grant_type is set to "authorization_code" and code_challenge_method

Response

access_tokenstring required

The generated access token

token_typestring required

The type of token, in our case should always be "bearer"

refresh_tokenstring required

The generated refresh token

expires_innumber required

Number of seconds until the access token expires

refresh_token_expnumber required

The list of the permissions (tpApps) that the application requests.

scopestring required

Scopes you are allowed to use if any requested

user_idstring

The authenticated user id

Changes

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