Scope of Token
An access token may contain Account Owner scope, Extension User scope, and/or some other more specific scopes. Token with Account Owner scope may execute any API while token with Extension scope may execute only API's at the Extension Level.
The format of an API in Account level and Extension level is differed only by the request URL, where extension information is required for an Extension level API. For example, the 'sms' API is available in both Account level and Extension level, and the URLs for each level are as follow, where :acct_id is the Account ID and :extn_id is the Extension ID.
https://api.phone.com/v4/accounts/:acct_id/sms
https://api.phone.com/v4/accounts/:acct_id/extensions/:extn_id/sms
The request bodies for the above API's are identical.
Updated almost 4 years ago