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
- Base URLhttps://api.phone.com
- Authnone declared
Request body
Created Access Token required
grant_type, 'password' | 'client_credentials' | 'refresh_token' | 'authorization_code' required
authorization_code, client_credentials, password or refresh_token
client_id, string required
Client ID
client_secret, string required
Client Secret Key
username, string nullable
User name
phonenumber, string nullable
Phone number
scope, string nullable
account-owner, extension-user and/or methods:ALL, separated by space
redirect_uri, string nullable
The redirect URI where user enters authentication information
code, string nullable
Authorization Code created via the /oauth/authorization API
refresh_token, string nullable
Refresh token
Response
Created
object required
Changes
No recorded changes to this operation across all 1160 revisions of this API.