OAuth

Create Access Token

To create an access token via the /oauth/access-token API, an API user may choose any one of the grant types it supports: Authorization Code Grant, Client Credential Grant, Password Credential Grant or Refresh Token Grant. Provide "?mode=details" in query string to receive response identical to GET /v4/oauth/access-token/details

post/v4/oauth/access-token

Request body

grant_type'password' | 'client_credentials' | 'refresh_token' | 'authorization_code' required

authorization_code, client_credentials, password or refresh_token

client_idstring required

Client ID

client_secretstring required

Client Secret Key

usernamestring nullable

User name

phonenumberstring nullable

Phone number

scopestring nullable

account-owner, extension-user and/or methods:ALL, separated by space

redirect_uristring nullable

The redirect URI where user enters authentication information

codestring nullable

Authorization Code created via the /oauth/authorization API

refresh_tokenstring nullable

Refresh token

Response

Created

object required

Changes

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