← Twilio operations · All schemas
Connect Twilio credentials — request body — body
Referenced models: Connect Twilio credentials — request body — body credential
Connect Twilio credentials — request body — body credential
| Field | Type | Presence | Description and constraints |
|---|
$ | object | Root | |
account_sid | string | Required within parent | |
api_key_secret | JSON | Optional | |
api_key_secret (anyOf 1) | string | Alternative | |
api_key_secret (anyOf 2) | null | Alternative | |
api_key_sid | JSON | Optional | |
api_key_sid (anyOf 1) | string | Alternative | |
api_key_sid (anyOf 2) | null | Alternative | |
auth_token | JSON | Optional | |
auth_token (anyOf 1) | string | Alternative | |
auth_token (anyOf 2) | null | Alternative | |
Disable Twilio phone number — request body — body
| Field | Type | Presence | Description and constraints |
|---|
$ | object | Root | |
phone_number_id | string | Required within parent | |
Enable Twilio phone number — request body — body
| Field | Type | Presence | Description and constraints |
|---|
$ | object | Root | |
confirm_takeover | boolean | Optional | Default: false |
credential_id | JSON | Optional | |
credential_id (anyOf 1) | string | Alternative | |
credential_id (anyOf 2) | null | Alternative | |
phone_number_sid | string | Required within parent | |
Enable Twilio phone number — response body
| Field | Type | Presence | Description and constraints |
|---|
$ | object | Root | Safe phone-number metadata without provider routing or cost secrets. |
billing_exempt | boolean | Optional | Default: false |
cancel_at | JSON | Optional | |
cancel_at (anyOf 1) | string | Alternative | Format: date-time |
cancel_at (anyOf 2) | null | Alternative | |
created_at | string | Required within parent | Format: date-time |
credential_id | JSON | Optional | |
credential_id (anyOf 1) | string | Alternative | |
credential_id (anyOf 2) | null | Alternative | |
deleted_at | JSON | Optional | |
deleted_at (anyOf 1) | string | Alternative | Format: date-time |
deleted_at (anyOf 2) | null | Alternative | |
modified_at | string | Required within parent | Format: date-time |
organization_id | string | Required within parent | |
phone_number | string | Required within parent | |
phone_number_id | string | Required within parent | |
price_cents | JSON | Optional | |
price_cents (anyOf 1) | JSON | Alternative | |
price_cents (anyOf 1) (anyOf 1) | integer | Alternative | |
price_cents (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
price_cents (anyOf 2) | null | Alternative | |
provider | string | Required within parent | |
quarantined_until | JSON | Optional | |
quarantined_until (anyOf 1) | string | Alternative | Format: date-time |
quarantined_until (anyOf 2) | null | Alternative | |
sms_config_id | string | Required within parent | |
status | string | Required within parent | Known values: active, disabled, released, quarantined, provisioning, quarantining, releasing, surrendering, reversal_pending |
Get Twilio credentials — response body
Referenced models: Get Twilio credentials — response body — credential account sid, api key sid, has api key secret, has auth token
Get Twilio credentials — response body — credential account sid, api key sid, has api key secret, has auth token
| Field | Type | Presence | Description and constraints |
|---|
$ | object | Root | |
account_sid | string | Required within parent | |
api_key_sid | JSON | Optional | |
api_key_sid (anyOf 1) | string | Alternative | |
api_key_sid (anyOf 2) | null | Alternative | |
has_api_key_secret | boolean | Required within parent | |
has_auth_token | boolean | Required within parent | |
List Twilio phone numbers — response body — item
| Field | Type | Presence | Description and constraints |
|---|
$ | object | Root | |
current_sms_url | JSON | Optional | |
current_sms_url (anyOf 1) | string | Alternative | |
current_sms_url (anyOf 2) | null | Alternative | |
enabled | boolean | Required within parent | |
friendly_name | string | Required within parent | |
phone_number | string | Required within parent | |
phone_number_id | JSON | Optional | |
phone_number_id (anyOf 1) | string | Alternative | |
phone_number_id (anyOf 2) | null | Alternative | |
sid | string | Required within parent | |
sms_capable | boolean | Required within parent | |