# Create a new token for ICE servers **POST /2010-04-01/Accounts/{AccountSid}/Tokens.json** Create a new token for ICE servers Credentials for ICE servers ## Servers - https://api.twilio.com: https://api.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **AccountSid** (string) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource. ### Body: application/x-www-form-urlencoded (object) - **Ttl** (integer) The duration in seconds for which the generated credentials are valid. The default value is 86400 (24 hours). ## Responses ### 201 Created #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Token resource. - **date_created** (string(date-time-rfc-2822) | null) The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **date_updated** (string(date-time-rfc-2822) | null) The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **ice_servers** (array[object(ice-server)] | null) An array representing the ephemeral credentials and the STUN and TURN server URIs. - **password** (string | null) The temporary password that the username will use when authenticating with Twilio. - **ttl** (string | null) The duration in seconds for which the username and password are valid. - **username** (string | null) The temporary username that uniquely identifies a Token. [Powered by Bump.sh](https://bump.sh)