Skip to content

Twilio: Credential schemas

1 Twilio schema with complete fields and constraints.

โ† Credential operations ยท All schemas

Fetch a single credential โ€” response body

FieldTypePresenceDescription and constraints
$objectRoot
account_sidJSONOptional
account_sid (anyOf 1)stringAlternativeThe unique id of the Account that is responsible for this resource.
Maximum length: 34
Minimum length: 34
Pattern: ^AC[0-9a-fA-F]{32}$
account_sid (anyOf 2)nullAlternative
credential_list_sidJSONOptional
credential_list_sid (anyOf 1)stringAlternativeThe unique id that identifies the credential list that includes this credential.
Maximum length: 34
Minimum length: 34
Pattern: ^CL[0-9a-fA-F]{32}$
credential_list_sid (anyOf 2)nullAlternative
date_createdJSONOptional
date_created (anyOf 1)stringAlternativeThe date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
Format: date-time-rfc-2822
date_created (anyOf 2)nullAlternative
date_updatedJSONOptional
date_updated (anyOf 1)stringAlternativeThe date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
Format: date-time-rfc-2822
date_updated (anyOf 2)nullAlternative
sidJSONOptional
sid (anyOf 1)stringAlternativeA 34 character string that uniquely identifies this resource.
Maximum length: 34
Minimum length: 34
Pattern: ^CR[0-9a-fA-F]{32}$
sid (anyOf 2)nullAlternative
uriJSONOptional
uri (anyOf 1)stringAlternativeThe URI for this resource, relative to `https://api.twilio.com`
uri (anyOf 2)nullAlternative
usernameJSONOptional
username (anyOf 1)stringAlternativeThe username for this credential.
username (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.