API Tokens

Creates a new API token associated to an account.

Returns the API token information.

post/v1/accounts/{accountSid}/apiTokens

Request

Path parameters

accountSidstring required

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)

Changes

No recorded changes to this operation across all 1 revision of this API.