Path parameters
-
The SID of the Account that will be responsible for the new Key resource.
Body
-
FriendlyName string
A descriptive string that you create to describe the resource. It can be up to 64 characters long.
POST /2010-04-01/Accounts/{AccountSid}/Keys.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Keys.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'FriendlyName=string'
Request example
{
"FriendlyName": "string"
}
Request examples
{
"FriendlyName": "string"
}
Response examples (201)
{
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"secret": "string",
"sid": "string"
}
Response examples (201)
{
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"secret": "string",
"sid": "string"
}