Skip to content

Twilio: Token schemas

1 Twilio schema with complete fields and constraints.

โ† Token operations ยท All schemas

Create a new token for ICE servers โ€” response body

FieldTypePresenceDescription and constraints
$objectRoot
account_sidJSONOptional
account_sid (anyOf 1)stringAlternativeThe SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Token resource.
Maximum length: 34
Minimum length: 34
Pattern: ^AC[0-9a-fA-F]{32}$
account_sid (anyOf 2)nullAlternative
date_createdJSONOptional
date_created (anyOf 1)stringAlternativeThe date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
Format: date-time-rfc-2822
date_created (anyOf 2)nullAlternative
date_updatedJSONOptional
date_updated (anyOf 1)stringAlternativeThe date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
Format: date-time-rfc-2822
date_updated (anyOf 2)nullAlternative
ice_serversJSONOptional
ice_servers (anyOf 1)arrayAlternativeAn array representing the ephemeral credentials and the STUN and TURN server URIs.
ice_servers (anyOf 1)[]objectEach itemFormat: ice-server
ice_servers (anyOf 1)[].credentialstringOptional
ice_servers (anyOf 1)[].urlstringOptional
ice_servers (anyOf 1)[].urlsstringOptional
ice_servers (anyOf 1)[].usernamestringOptional
ice_servers (anyOf 2)nullAlternative
passwordJSONOptional
password (anyOf 1)stringAlternativeThe temporary password that the username will use when authenticating with Twilio.
password (anyOf 2)nullAlternative
ttlJSONOptional
ttl (anyOf 1)stringAlternativeThe duration in seconds for which the username and password are valid.
ttl (anyOf 2)nullAlternative
usernameJSONOptional
username (anyOf 1)stringAlternativeThe temporary username that uniquely identifies a Token.
username (anyOf 2)nullAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.