provider Api20100401Token POST /2010-04-01/Accounts/{AccountSid}/Tokens.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/Tokens.json
Create a new token for ICE servers
Create a new token for ICE servers
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.
string

Try it

Authentication
Configure credentials for Twilio - Api
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createtoken
POST/2010-04-01/Accounts/{AccountSid}/Tokens.json
Create a new token for ICE servers

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will create the resource.

Input

The duration in seconds for which the generated credentials are valid. The default value is 86400 (24 hours).

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.createtoken()