Phone.com API authentication follows the OAuth 2.0 specification. You will have a Bearer token which represents a session owned by your custom application. To authenticate, include the
Authorization header in your API requests, and prefix the token with the key word "Bearer".
For example, say you have been given the following token:
x470ZCoXywhKla4GtSwSin4zgN94PbtDi1rjNeBa89, you would formulate the List Account API request as below:
curl -L -X GET 'https://api.phone.com/v4/accounts' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer x470ZCoXywhKla4GtSwSin4zgN94PbtDi1rjNeBa89' \
Updated about 2 years ago