Tokens
Generate a new API Token
Generate an API Token for a project to be used to authenticate requests within the project.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Management.
Learn more about API scopes.
post/Accounts/{AccountSid}/tokens
Path parameters
AccountSidstring uuid required
Universal Unique Identifier.
The unique identifier for the project you want to use to authenticate this request.
Response
The request has succeeded.
Example response
{
"name": "John Doe's Token",
"permissions": [
"calling",
"fax",
"messaging"
],
"token": "PT037258e533e87ac63174ee136ed0798dc85d4f4f9e6d7191"
}