latestOpenAPI 3.0.02026-07-13105112106.9 KB

b2a22a9b5c98

API Tokens

Creates a new API token associated to an account.

Returns the API token information.

post/v1/accounts/{accountSid}/apiTokens

Path parameters

accountSidstring required

accountSid

accountSid

Request body

namestring required

The name of the API token

role'ingest' | 'administrator' | 'user' required

The role applied to the API token

environmentSidstring required

environmentSid

Response

Successful

API20Token required— unresolved $ref