create
Create a new API token.
Path parameters
AccountSid
The unique identifier for the project you want to use to authenticate this request.
Request
name
The name representing the project API token.
permissions
The permissions you would like to enable for this project API token. Valid permissions are: calling, chat, datasphere, fax, management, messaging, numbers, pubsub, storage, tasking, and video.
subproject_id
The unique identifier of the subproject you would like to create a token for. Must belong to the parent project.
Response
id
The unique identifier of the created API Token.
name
The name of the created API Token.
permissions
The permissions enabled for this token.
token
The API token that can be used along with the project ID for basic authentication.
Response Example
Response