Skip to content

Twilio: Validation request schemas

1 Twilio schema with complete fields and constraints.

โ† Validation request operations ยท All schemas

Create Validation Request โ€” response body

FieldTypePresenceDescription and constraints
$objectRoot
account_sidJSONOptional
account_sid (anyOf 1)stringAlternativeThe 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)nullAlternative
call_sidJSONOptional
call_sid (anyOf 1)stringAlternativeThe 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)nullAlternative
friendly_nameJSONOptional
friendly_name (anyOf 1)stringAlternativeThe string that you assigned to describe the resource.
friendly_name (anyOf 2)nullAlternative
phone_numberJSONOptional
phone_number (anyOf 1)stringAlternativeThe 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)nullAlternative
validation_codeJSONOptional
validation_code (anyOf 1)stringAlternativeThe 6 digit validation code that someone must enter to validate the Caller ID when `phone_number` is called.
validation_code (anyOf 2)nullAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.