Twilio: Validation request schemas
1 Twilio schema with complete fields and constraints.
โ Validation request operations ยท All schemas
Create Validation Request โ response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
account_sid | JSON | Optional | |
account_sid (anyOf 1) | string | Alternative | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for the Caller ID. Maximum length: 34 Minimum length: 34 Pattern: ^AC[0-9a-fA-F]{32}$ |
account_sid (anyOf 2) | null | Alternative | |
call_sid | JSON | Optional | |
call_sid (anyOf 1) | string | Alternative | The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Caller ID is associated with. Maximum length: 34 Minimum length: 34 Pattern: ^CA[0-9a-fA-F]{32}$ |
call_sid (anyOf 2) | null | Alternative | |
friendly_name | JSON | Optional | |
friendly_name (anyOf 1) | string | Alternative | The string that you assigned to describe the resource. |
friendly_name (anyOf 2) | null | Alternative | |
phone_number | JSON | Optional | |
phone_number (anyOf 1) | string | Alternative | The phone number to verify in [E.164](https://www.twilio.com/docs/glossary/what-e164) format, which consists of a + followed by the country code and subscriber number. Format: phone-number |
phone_number (anyOf 2) | null | Alternative | |
validation_code | JSON | Optional | |
validation_code (anyOf 1) | string | Alternative | The 6 digit validation code that someone must enter to validate the Caller ID when `phone_number` is called. |
validation_code (anyOf 2) | null | Alternative |