Create a new token for ICE servers
Credentials for ICE servers
Create a new token for ICE servers
Path parameters
-
The SID of the Account that will create the resource.
POST /2010-04-01/Accounts/{AccountSid}/Tokens.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Tokens.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Ttl=42'
Request example
{
"Ttl": 42
}
Request examples
{
"Ttl": 42
}
Response examples (201)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"ice_servers": [
{
"credential": "string",
"url": "string",
"urls": "string",
"username": "string"
}
],
"password": "string",
"ttl": "string",
"username": "string"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "string",
"date_updated": "string",
"ice_servers": [
{
"credential": "string",
"url": "string",
"urls": "string",
"username": "string"
}
],
"password": "string",
"ttl": "string",
"username": "string"
}