[
{
"handle": "messages",
"meta": {
"short": "Messages",
"description": "Send and receive SMS and MMS messages"
},
"endpoint": {
"value": "/Messages.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "body",
"type": "string",
"selector": [
"body"
],
"meta": {
"description": "The text body of the message"
}
},
{
"name": "from",
"type": "string",
"selector": [
"from"
],
"meta": {
"description": "The phone number that initiated the message"
}
},
{
"name": "to",
"type": "string",
"selector": [
"to"
],
"meta": {
"description": "The phone number that received the message"
}
},
{
"name": "status",
"type": "string",
"selector": [
"status"
],
"meta": {
"description": "The status of the message"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The SID of the message to fetch",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": {
"value": "{\"Body\": \"{{body}}\", \"From\": \"{{from}}\", \"To\": \"{{to}}\"}",
"placeholders": [
{
"name": "body",
"type": "String",
"description": "The text body of the message",
"required": true
},
{
"name": "from",
"type": "String",
"description": "The phone number sending the message",
"required": true
},
{
"name": "to",
"type": "String",
"description": "The phone number receiving the message",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The SID of the message to update",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": {
"value": "{\"Status\": \"{{status}}\"}",
"placeholders": [
{
"name": "status",
"type": "String",
"description": "The new status of the message",
"required": true
}
]
}
},
"delete": null
},
"webhooks": [
{
"event": "message_received",
"path": "/webhooks/twilio/messages",
"payload": [
{
"name": "sid",
"type": "string",
"selector": [
"MessageSid"
],
"meta": {
"description": "The unique string that identifies the message"
}
},
{
"name": "body",
"type": "string",
"selector": [
"Body"
],
"meta": {
"description": "The text body of the message"
}
},
{
"name": "from",
"type": "string",
"selector": [
"From"
],
"meta": {
"description": "The phone number that initiated the message"
}
},
{
"name": "to",
"type": "string",
"selector": [
"To"
],
"meta": {
"description": "The phone number that received the message"
}
}
]
}
]
},
{
"handle": "calls",
"meta": {
"short": "Calls",
"description": "Make and receive phone calls"
},
"endpoint": {
"value": "/Calls.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "from",
"type": "string",
"selector": [
"from"
],
"meta": {
"description": "The phone number that initiated the call"
}
},
{
"name": "to",
"type": "string",
"selector": [
"to"
],
"meta": {
"description": "The phone number that received the call"
}
},
{
"name": "status",
"type": "string",
"selector": [
"status"
],
"meta": {
"description": "The status of the call"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The SID of the call to fetch",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": {
"value": "{\"Url\": \"{{url}}\", \"From\": \"{{from}}\", \"To\": \"{{to}}\"}",
"placeholders": [
{
"name": "url",
"type": "String",
"description": "The URL Twilio will request when the call connects",
"required": true
},
{
"name": "from",
"type": "String",
"description": "The phone number making the call",
"required": true
},
{
"name": "to",
"type": "String",
"description": "The phone number receiving the call",
"required": true
}
]
}
},
"update": {
"method": "POST",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The SID of the call to update",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": {
"value": "{\"Status\": \"{{status}}\"}",
"placeholders": [
{
"name": "status",
"type": "String",
"description": "The new status of the call",
"required": true
}
]
}
},
"delete": null
},
"webhooks": [
{
"event": "call_received",
"path": "/webhooks/twilio/calls",
"payload": [
{
"name": "sid",
"type": "string",
"selector": [
"CallSid"
],
"meta": {
"description": "The unique string that identifies the call"
}
},
{
"name": "from",
"type": "string",
"selector": [
"From"
],
"meta": {
"description": "The phone number that initiated the call"
}
},
{
"name": "to",
"type": "string",
"selector": [
"To"
],
"meta": {
"description": "The phone number that received the call"
}
}
]
}
]
},
{
"handle": "accounts",
"meta": {
"short": "Accounts",
"description": "Manage Twilio Accounts"
},
"endpoint": {
"value": "/Accounts.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "friendly_name",
"type": "string",
"selector": [
"friendly_name"
],
"meta": {
"description": "A descriptive string that identifies this resource"
}
},
{
"name": "status",
"type": "string",
"selector": [
"status"
],
"meta": {
"description": "The status of the account"
}
},
{
"name": "type",
"type": "string",
"selector": [
"type"
],
"meta": {
"description": "The type of account"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"update": {
"method": "POST",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"delete": null
}
},
{
"handle": "addresses",
"meta": {
"short": "Addresses",
"description": "Manage customer addresses"
},
"endpoint": {
"value": "/Addresses.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "customer_name",
"type": "string",
"selector": [
"customer_name"
],
"meta": {
"description": "The name to associate with the address"
}
},
{
"name": "street",
"type": "string",
"selector": [
"street"
],
"meta": {
"description": "The number and street address"
}
},
{
"name": "city",
"type": "string",
"selector": [
"city"
],
"meta": {
"description": "The city of the address"
}
},
{
"name": "region",
"type": "string",
"selector": [
"region"
],
"meta": {
"description": "The state or region of the address"
}
},
{
"name": "postal_code",
"type": "string",
"selector": [
"postal_code"
],
"meta": {
"description": "The postal code of the address"
}
},
{
"name": "iso_country",
"type": "string",
"selector": [
"iso_country"
],
"meta": {
"description": "The ISO country code of the address"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"update": {
"method": "POST",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
}
},
{
"handle": "applications",
"meta": {
"short": "Applications",
"description": "Manage TwiML applications"
},
"endpoint": {
"value": "/Applications.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "friendly_name",
"type": "string",
"selector": [
"friendly_name"
],
"meta": {
"description": "A descriptive string that identifies this resource"
}
},
{
"name": "api_version",
"type": "string",
"selector": [
"api_version"
],
"meta": {
"description": "The API version used to start a new TwiML session"
}
},
{
"name": "voice_url",
"type": "string",
"selector": [
"voice_url"
],
"meta": {
"description": "The URL we should call when the phone number receives a call"
}
},
{
"name": "sms_url",
"type": "string",
"selector": [
"sms_url"
],
"meta": {
"description": "The URL we should call when the phone number receives an incoming SMS message"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"update": {
"method": "POST",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
}
},
{
"handle": "incoming_phone_numbers",
"meta": {
"short": "Incoming Phone Numbers",
"description": "Manage incoming phone numbers"
},
"endpoint": {
"value": "/IncomingPhoneNumbers.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "phone_number",
"type": "string",
"selector": [
"phone_number"
],
"meta": {
"description": "The phone number with formatting"
}
},
{
"name": "friendly_name",
"type": "string",
"selector": [
"friendly_name"
],
"meta": {
"description": "A descriptive string that identifies this resource"
}
},
{
"name": "voice_url",
"type": "string",
"selector": [
"voice_url"
],
"meta": {
"description": "The URL we should call when the phone number receives a call"
}
},
{
"name": "sms_url",
"type": "string",
"selector": [
"sms_url"
],
"meta": {
"description": "The URL we should call when the phone number receives an incoming SMS message"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"update": {
"method": "POST",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
}
},
{
"handle": "recordings",
"meta": {
"short": "Recordings",
"description": "Manage call recordings"
},
"endpoint": {
"value": "/Recordings.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "call_sid",
"type": "string",
"selector": [
"call_sid"
],
"meta": {
"description": "The SID of the Call that the recording is associated with"
}
},
{
"name": "duration",
"type": "string",
"selector": [
"duration"
],
"meta": {
"description": "The length of the recording in seconds"
}
},
{
"name": "status",
"type": "string",
"selector": [
"status"
],
"meta": {
"description": "The status of the recording"
}
},
{
"name": "media_url",
"type": "string",
"selector": [
"media_url"
],
"meta": {
"description": "The URL of the media file associated with this recording"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": null,
"update": null,
"delete": {
"method": "DELETE",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
}
},
{
"handle": "transcriptions",
"meta": {
"short": "Transcriptions",
"description": "Manage transcriptions of recordings"
},
"endpoint": {
"value": "/Transcriptions.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "recording_sid",
"type": "string",
"selector": [
"recording_sid"
],
"meta": {
"description": "The SID of the Recording from which the transcription was created"
}
},
{
"name": "duration",
"type": "string",
"selector": [
"duration"
],
"meta": {
"description": "The duration of the transcribed audio in seconds"
}
},
{
"name": "status",
"type": "string",
"selector": [
"status"
],
"meta": {
"description": "The status of the transcription"
}
},
{
"name": "transcription_text",
"type": "string",
"selector": [
"transcription_text"
],
"meta": {
"description": "The text content of the transcription"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": null,
"update": null,
"delete": {
"method": "DELETE",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
}
},
{
"handle": "keys",
"meta": {
"short": "Keys",
"description": "Manage API Keys"
},
"endpoint": {
"value": "/Keys.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "friendly_name",
"type": "string",
"selector": [
"friendly_name"
],
"meta": {
"description": "A descriptive string that identifies this resource"
}
},
{
"name": "date_created",
"type": "string",
"selector": [
"date_created"
],
"meta": {
"description": "The date and time in GMT that the resource was created"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"update": {
"method": "POST",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
}
},
{
"handle": "available_phone_numbers",
"meta": {
"short": "Available Phone Numbers",
"description": "Search for phone numbers available for purchase"
},
"endpoint": {
"value": "/AvailablePhoneNumbers/{{country_code}}/Local.json",
"placeholders": []
},
"fields": [
{
"name": "phone_number",
"type": "string",
"selector": [
"phone_number"
],
"meta": {
"description": "An available phone number"
}
},
{
"name": "friendly_name",
"type": "string",
"selector": [
"friendly_name"
],
"meta": {
"description": "A formatted version of the phone number"
}
},
{
"name": "region",
"type": "string",
"selector": [
"region"
],
"meta": {
"description": "The region or state of the phone number"
}
},
{
"name": "postal_code",
"type": "string",
"selector": [
"postal_code"
],
"meta": {
"description": "The postal code of the phone number"
}
},
{
"name": "iso_country",
"type": "string",
"selector": [
"iso_country"
],
"meta": {
"description": "The ISO country code of the phone number"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "/AvailablePhoneNumbers/{{country_code}}/Local.json",
"placeholders": [
{
"name": "country_code",
"type": "String",
"description": "The ISO-3166-1 country code",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": null,
"create": null,
"update": null,
"delete": null
}
},
{
"handle": "conferences",
"meta": {
"short": "Conferences",
"description": "Manage Voice Conferences"
},
"endpoint": {
"value": "/Conferences.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "friendly_name",
"type": "string",
"selector": [
"friendly_name"
],
"meta": {
"description": "A descriptive string that identifies this resource"
}
},
{
"name": "status",
"type": "string",
"selector": [
"status"
],
"meta": {
"description": "The status of the conference"
}
},
{
"name": "region",
"type": "string",
"selector": [
"region"
],
"meta": {
"description": "The region where the conference audio is hosted"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": null,
"update": {
"method": "POST",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"delete": null
}
},
{
"handle": "participants",
"meta": {
"short": "Conference Participants",
"description": "Manage participants in a Voice Conference"
},
"endpoint": {
"value": "/Conferences/{{conference_sid}}/Participants.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the participant"
}
},
{
"name": "conference_sid",
"type": "string",
"selector": [
"conference_sid"
],
"meta": {
"description": "The SID of the participant's conference"
}
},
{
"name": "status",
"type": "string",
"selector": [
"status"
],
"meta": {
"description": "The status of the participant"
}
},
{
"name": "muted",
"type": "string",
"selector": [
"muted"
],
"meta": {
"description": "Whether the participant is muted"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "/Conferences/{{conference_sid}}/Participants.json",
"placeholders": [
{
"name": "conference_sid",
"type": "String",
"description": "The SID of the conference",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": null,
"update": {
"method": "POST",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
}
},
{
"handle": "queues",
"meta": {
"short": "Queues",
"description": "Manage call queues"
},
"endpoint": {
"value": "/Queues.json",
"placeholders": []
},
"fields": [
{
"name": "sid",
"type": "string",
"selector": [
"sid"
],
"meta": {
"description": "The unique string that identifies the resource"
}
},
{
"name": "friendly_name",
"type": "string",
"selector": [
"friendly_name"
],
"meta": {
"description": "A descriptive string that identifies this resource"
}
},
{
"name": "current_size",
"type": "string",
"selector": [
"current_size"
],
"meta": {
"description": "The number of calls currently in the queue"
}
},
{
"name": "max_size",
"type": "string",
"selector": [
"max_size"
],
"meta": {
"description": "The maximum number of calls allowed in the queue"
}
}
],
"operations": {
"list": {
"method": "GET",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"read": {
"method": "GET",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"update": {
"method": "POST",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"delete": {
"method": "DELETE",
"path": {
"value": "/{{sid}}.json",
"placeholders": [
{
"name": "sid",
"type": "String",
"description": "The unique SID identifier",
"required": true
}
]
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
}
}
},
{
"handle": "validation_requests",
"meta": {
"short": "Validation Requests",
"description": "Request caller ID validation"
},
"endpoint": {
"value": "/ValidationRequests.json",
"placeholders": []
},
"fields": [
{
"name": "phone_number",
"type": "string",
"selector": [
"phone_number"
],
"meta": {
"description": "The phone number that was verified"
}
},
{
"name": "friendly_name",
"type": "string",
"selector": [
"friendly_name"
],
"meta": {
"description": "A descriptive string that identifies this expected validation"
}
},
{
"name": "validation_code",
"type": "string",
"selector": [
"validation_code"
],
"meta": {
"description": "The 6 digit validation code that someone must enter"
}
}
],
"operations": {
"list": null,
"read": null,
"create": {
"method": "POST",
"path": {
"value": "",
"placeholders": []
},
"headers": {},
"queryParams": {},
"bodyTemplate": null
},
"update": null,
"delete": null
}
}
]