Skip to content
Scalekit Docs
Talk to an EngineerDashboard

Twilio connector

Basic AuthCommunicationAutomation

Connect to Twilio to send SMS/MMS messages, make voice calls, verify phone numbers with OTP, manage phone numbers, and access usage records.

Twilio connector

  1. Terminal window
    npm install @scalekit-sdk/node

    Full SDK reference: Node.js | Python

  2. Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. Register your Twilio credentials with Scalekit so it can authenticate requests on your behalf. You do this once per environment.

    Dashboard setup steps

    Connect Twilio to Scalekit using your Account SID and Auth Token. Scalekit stores these credentials securely and injects them into every tool call — your agent code never handles them directly.

    1. Get your Account SID and Auth Token

      • Log in to the Twilio Console.
      • On the Account Dashboard, scroll down to the Account Info section.
      • Copy your Account SID (starts with AC).
      • Click Show next to Auth Token to reveal it, then copy it.

      Twilio Account Dashboard showing Account SID and Auth Token

    2. Create a connection in Scalekit

      • In the Scalekit dashboard, go to AgentKitConnectionsCreate Connection.
      • Search for Twilio and click Create.
      • Enter your Account SID in the Account SID field.
      • Enter your Auth Token in the Auth Token field.
      • Click Save and note the Connection name — use this as connection_name in your code.

Connect this agent connector to let your agent:

  • Update verify service, verification, phone number — Update settings of an existing Twilio Verify service, such as its code length or friendly name
  • Create verification, subaccount, queue — Start a phone or email verification by sending a one-time code via Twilio Verify
  • Check verification — Check a one-time verification code entered by a user against a Twilio Verify service
  • List queues, applications, accounts — List call queues on the account, used with TwiML’s <Enqueue> and <Dequeue> verbs
  • Delete phone number, conference participant, verify service — Release (delete) an incoming phone number from your Twilio account
  • Number lookup phone — Look up information about a phone number, such as formatting, carrier, line type, and caller name, using Twilio Lookup

Use the exact tool names from the Tool list below when you call execute_tool. If you’re not sure which name to use, list the tools available for the current user first.

twilio_account_get#Retrieve details of a Twilio account by its SID.0 params

Retrieve details of a Twilio account by its SID.

twilio_accounts_list#List accounts and subaccounts belonging to the current Twilio account, optionally filtered by friendly name or status.3 params

List accounts and subaccounts belonging to the current Twilio account, optionally filtered by friendly name or status.

NameTypeRequiredDescription
friendly_namestringoptionalOnly return accounts matching this exact friendly name.
page_sizeintegeroptionalThe number of accounts to return per page.
statusstringoptionalOnly return accounts with this status.
twilio_application_create#Create a TwiML Application — a reusable, named set of voice and SMS webhook URLs that phone numbers or API calls can reference instead of repeating the same URLs everywhere.10 params

Create a TwiML Application — a reusable, named set of voice and SMS webhook URLs that phone numbers or API calls can reference instead of repeating the same URLs everywhere.

NameTypeRequiredDescription
friendly_namestringoptionalA descriptive name for the application. Up to 64 characters.
public_application_connect_enabledbooleanoptionalWhether to allow other Twilio accounts to dial this application using Dial verb.
sms_fallback_urlstringoptionalThe URL Twilio calls when an error occurs retrieving or executing TwiML from sms_url.
sms_methodstringoptionalThe HTTP method Twilio uses to request sms_url. Either GET or POST.
sms_urlstringoptionalThe URL Twilio calls when a phone number assigned to this application receives an incoming SMS.
status_callbackstringoptionalThe URL Twilio calls to pass status parameters (such as call ended) after an event.
voice_caller_id_lookupbooleanoptionalWhether to look up the caller's caller-ID name from the CNAM database.
voice_fallback_urlstringoptionalThe URL Twilio calls when an error occurs retrieving or executing TwiML from voice_url.
voice_methodstringoptionalThe HTTP method Twilio uses to request voice_url. Either GET or POST.
voice_urlstringoptionalThe URL Twilio calls when a phone number assigned to this application receives a call.
twilio_applications_list#List TwiML Applications on the account, optionally filtered by friendly name.2 params

List TwiML Applications on the account, optionally filtered by friendly name.

NameTypeRequiredDescription
friendly_namestringoptionalOnly return applications matching this exact friendly name.
page_sizeintegeroptionalThe number of applications to return per page.
twilio_available_numbers_local#Search for available local phone numbers that can be purchased in a given country.5 params

Search for available local phone numbers that can be purchased in a given country.

NameTypeRequiredDescription
country_codestringrequiredThe ISO 3166-1 alpha-2 country code to search for numbers in.
area_codestringoptionalFilter by area code.
containsstringoptionalA pattern to match phone numbers against. Use * for wildcards.
sms_enabledstringoptionalFilter for numbers that are SMS-capable.
voice_enabledstringoptionalFilter for numbers that are voice-capable.
twilio_available_numbers_mobile#Search for available mobile phone numbers that can be purchased in a given country.5 params

Search for available mobile phone numbers that can be purchased in a given country.

NameTypeRequiredDescription
country_codestringrequiredTwo-letter country code (e.g., GB, DE).
area_codestringoptionalFilter by area code.
containsstringoptionalA pattern to match phone numbers against. Use * for wildcards.
sms_enabledstringoptionalOnly return SMS-capable numbers.
voice_enabledstringoptionalOnly return voice-capable numbers.
twilio_available_numbers_toll_free#Search for available toll-free phone numbers that can be purchased in a given country.3 params

Search for available toll-free phone numbers that can be purchased in a given country.

NameTypeRequiredDescription
country_codestringrequiredThe ISO 3166-1 alpha-2 country code to search for numbers in.
area_codestringoptionalFilter by area code.
containsstringoptionalA pattern to match phone numbers against. Use * for wildcards.
twilio_balance_get#Get the current account's balance and currency.0 params

Get the current account's balance and currency.

twilio_call_create#Make an outbound phone call from your Twilio account. Requires a URL that returns TwiML instructions for handling the call.8 params

Make an outbound phone call from your Twilio account. Requires a URL that returns TwiML instructions for handling the call.

NameTypeRequiredDescription
from_numberstringrequiredThe Twilio phone number or client identifier to use as the caller ID.
tostringrequiredThe phone number, SIP address, or client identifier to call.
urlstringrequiredThe absolute URL that returns the TwiML instructions for the call.
machine_detectionstringoptionalWhether to detect if a human, answering machine, or fax picked up.
methodstringoptionalThe HTTP method Twilio uses to request the url.
recordbooleanoptionalWhether to record the call.
status_callbackstringoptionalThe URL Twilio calls to send status information about the call.
timeoutintegeroptionalHow long to let the phone ring before assuming there is no answer.
twilio_call_delete#Delete a call record from the account. This permanently removes the call log entry.1 param

Delete a call record from the account. This permanently removes the call log entry.

NameTypeRequiredDescription
call_sidstringrequiredThe unique identifier of the Call resource to delete.
twilio_call_get#Retrieve details of a specific phone call by its SID, including status, duration, and pricing information.1 param

Retrieve details of a specific phone call by its SID, including status, duration, and pricing information.

NameTypeRequiredDescription
call_sidstringrequiredThe unique identifier of the Call resource to retrieve.
twilio_call_recording_create#Start recording a live, in-progress Twilio call.4 params

Start recording a live, in-progress Twilio call.

NameTypeRequiredDescription
call_sidstringrequiredThe SID of the call to start recording.
recording_channelsstringoptionalThe number of channels in the recording.
recording_trackstringoptionalThe audio track to record.
trimstringoptionalWhether to trim leading and trailing silence from the recording.
twilio_call_recording_update#Pause, resume, or stop an in-progress recording of a live Twilio call.4 params

Pause, resume, or stop an in-progress recording of a live Twilio call.

NameTypeRequiredDescription
call_sidstringrequiredThe SID of the call whose recording should be updated.
recording_sidstringrequiredThe SID of the recording to update.
statusstringrequiredThe new status for the recording.
pause_behaviorstringoptionalWhether to record silence or skip recording while paused.
twilio_call_update#Modify a live phone call: redirect it to new TwiML instructions, or end it by setting status to 'completed' or 'canceled'.4 params

Modify a live phone call: redirect it to new TwiML instructions, or end it by setting status to 'completed' or 'canceled'.

NameTypeRequiredDescription
call_sidstringrequiredThe SID of the call to update.
methodstringoptionalThe HTTP method Twilio uses to request the url.
statusstringoptionalSet to 'completed' to hang up an in-progress call, or 'canceled' to cancel a queued or ringing call.
urlstringoptionalA new absolute URL that returns TwiML instructions to redirect the call to.
twilio_calls_list#Retrieve a list of phone calls made to and from the account, with optional filtering by number, status, and date.6 params

Retrieve a list of phone calls made to and from the account, with optional filtering by number, status, and date.

NameTypeRequiredDescription
end_timestringoptionalFilter by calls started on or before this date (YYYY-MM-DD format).
from_numberstringoptionalFilter by the phone number that initiated the call.
page_sizeintegeroptionalThe number of results to return per page. Maximum is 1000.
start_timestringoptionalFilter by calls started on or after this date (YYYY-MM-DD format).
statusstringoptionalFilter by call status. Values: queued, ringing, in-progress, completed, busy, failed, no-answer, canceled.
tostringoptionalFilter by the phone number that received the call.
twilio_conference_get#Retrieve details of a specific conference by its SID, including status, friendly name, and region.1 param

Retrieve details of a specific conference by its SID, including status, friendly name, and region.

NameTypeRequiredDescription
conference_sidstringrequiredThe unique identifier of the Conference resource to retrieve.
twilio_conference_participant_create#Dial a new participant into an existing Twilio conference.9 params

Dial a new participant into an existing Twilio conference.

NameTypeRequiredDescription
conference_sidstringrequiredThe SID of the conference to add the participant to.
from_numberstringrequiredThe phone number or Client identifier that is calling the participant.
tostringrequiredThe phone number, SIP address, or Client identifier to dial into the conference.
beepstringoptionalWhether to play a notification beep when the participant joins.
end_conference_on_exitbooleanoptionalWhether to end the conference when this participant leaves.
labelstringoptionalA label for this participant, usable to later fetch, update, or delete them.
mutedbooleanoptionalWhether the participant should join muted.
start_conference_on_enterbooleanoptionalWhether to start the conference when this participant joins, if not already started.
status_callbackstringoptionalThe URL Twilio calls with status information about the participant's call.
twilio_conference_participant_delete#Remove (kick) a participant from a live Twilio conference.2 params

Remove (kick) a participant from a live Twilio conference.

NameTypeRequiredDescription
call_sidstringrequiredThe SID of the participant's call to remove.
conference_sidstringrequiredThe SID of the conference the participant belongs to.
twilio_conference_participant_get#Retrieve details of a single participant in a Twilio conference.2 params

Retrieve details of a single participant in a Twilio conference.

NameTypeRequiredDescription
call_sidstringrequiredThe SID of the participant's call.
conference_sidstringrequiredThe SID of the conference the participant belongs to.
twilio_conference_participant_update#Mute, hold, or coach a participant in a live Twilio conference.6 params

Mute, hold, or coach a participant in a live Twilio conference.

NameTypeRequiredDescription
call_sidstringrequiredThe SID of the participant's call.
conference_sidstringrequiredThe SID of the conference the participant belongs to.
beep_on_exitbooleanoptionalWhether to play a notification beep when this participant leaves.
end_conference_on_exitbooleanoptionalWhether to end the conference when this participant leaves.
holdbooleanoptionalWhether the participant should be put on hold.
mutedbooleanoptionalWhether the participant should be muted.
twilio_conference_update#Update an in-progress conference: end it by setting status to 'completed', or play an announcement into it.4 params

Update an in-progress conference: end it by setting status to 'completed', or play an announcement into it.

NameTypeRequiredDescription
conference_sidstringrequiredThe SID of the conference to update.
announce_methodstringoptionalThe HTTP method Twilio uses to request the announce_url.
announce_urlstringoptionalA URL returning audio (MP3 or TwiML) to play into the conference.
statusstringoptionalSet to 'completed' to end the conference and disconnect all participants.
twilio_conferences_list#Retrieve a list of conferences for the account, with optional filtering by name, status, date, and pagination.4 params

Retrieve a list of conferences for the account, with optional filtering by name, status, date, and pagination.

NameTypeRequiredDescription
date_createdstringoptionalFilter conferences created on this date (YYYY-MM-DD format).
friendly_namestringoptionalFilter conferences by their friendly name.
page_sizeintegeroptionalThe number of results to return per page. Maximum is 1000.
statusstringoptionalFilter by conference status. Values: init, in-progress, completed.
twilio_conversation_create#Create a new Twilio Conversation, so participants and messages can be added to it. Existing tools can only get, list, or delete conversations.7 params

Create a new Twilio Conversation, so participants and messages can be added to it. Existing tools can only get, list, or delete conversations.

NameTypeRequiredDescription
attributesstringoptionalFree-form JSON metadata to store on the conversation, as a string.
friendly_namestringoptionalHuman-readable name for the conversation. Up to 256 characters.
messaging_service_sidstringoptionalThe SID of the Messaging Service this conversation belongs to.
statestringoptionalThe initial state of the conversation.
timers_closedstringoptionalISO-8601 duration of inactivity after which the conversation is switched to the 'closed' state (minimum 10 minutes).
timers_inactivestringoptionalISO-8601 duration of inactivity after which the conversation is switched to the 'inactive' state (minimum 1 minute).
unique_namestringoptionalAn application-defined string that uniquely identifies this conversation, usable in place of the SID in the URL.
twilio_conversation_delete#Delete a Twilio Conversation by its SID. This permanently removes the conversation and all associated data.1 param

Delete a Twilio Conversation by its SID. This permanently removes the conversation and all associated data.

NameTypeRequiredDescription
conversation_sidstringrequiredThe unique SID of the conversation to delete.
twilio_conversation_get#Retrieve the details of a specific Twilio Conversation by its SID.1 param

Retrieve the details of a specific Twilio Conversation by its SID.

NameTypeRequiredDescription
conversation_sidstringrequiredThe unique SID of the conversation to retrieve.
twilio_conversation_message_create#Send a new message into a Twilio Conversation. Existing tools can only list or delete conversation messages.8 params

Send a new message into a Twilio Conversation. Existing tools can only list or delete conversation messages.

NameTypeRequiredDescription
conversation_sidstringrequiredThe unique SID of the conversation to send the message into.
attributesstringoptionalFree-form JSON metadata to store on the message, as a string.
authorstringoptionalThe channel-specific identifier of the message's author. Defaults to 'system'.
bodystringoptionalThe text content of the message. Up to 1,600 characters. Ignored if content_sid is set.
content_sidstringoptionalThe SID of a Rich Content template to use for this message. If set, this overrides body and media_sid.
content_variablesstringoptionalJSON string of variable values to resolve in the Content Template referenced by content_sid.
media_sidstringoptionalThe SID of a previously-uploaded Media resource to attach to this message.
subjectstringoptionalThe subject of the message, for channels that support it (e.g. email). Up to 256 characters.
twilio_conversation_message_delete#Delete a specific message from a Twilio Conversation by its SID.2 params

Delete a specific message from a Twilio Conversation by its SID.

NameTypeRequiredDescription
conversation_sidstringrequiredThe unique SID of the conversation containing the message.
message_sidstringrequiredThe unique SID of the message to delete.
twilio_conversation_messages_list#List all messages in a Twilio Conversation. Optionally control the sort order and page size.3 params

List all messages in a Twilio Conversation. Optionally control the sort order and page size.

NameTypeRequiredDescription
conversation_sidstringrequiredThe unique SID of the conversation to list messages for.
orderstringoptionalThe sort order of messages. One of: asc, desc.
page_sizeintegeroptionalThe number of messages to return per page.
twilio_conversation_participant_create#Add a participant to a Twilio Conversation, either as an SDK-connected Conversation User (identity) or as an external SMS/WhatsApp address (messaging_binding_address). Provide exactly one of identity or messaging_binding_address, not both. Existing tools can only list participants.6 params

Add a participant to a Twilio Conversation, either as an SDK-connected Conversation User (identity) or as an external SMS/WhatsApp address (messaging_binding_address). Provide exactly one of identity or messaging_binding_address, not both. Existing tools can only list participants.

NameTypeRequiredDescription
conversation_sidstringrequiredThe unique SID of the conversation to add the participant to.
attributesstringoptionalFree-form JSON metadata to store on the participant, as a string.
identitystringoptionalThe Conversations SDK identity of the participant, for participants connecting via the Conversations SDK. Do not set together with messaging_binding_address.
messaging_binding_addressstringoptionalThe participant's SMS or WhatsApp address (e.g. a phone number). Together with messaging_binding_proxy_address, uniquely identifies the participant. Do not set together with identity.
messaging_binding_proxy_addressstringoptionalThe Twilio phone or WhatsApp number this participant will see messages from. Required together with messaging_binding_address for non-SDK participants.
role_sidstringoptionalThe SID of a conversation-level Role to assign to this participant.
twilio_conversation_participants_list#List all participants in a Twilio Conversation.2 params

List all participants in a Twilio Conversation.

NameTypeRequiredDescription
conversation_sidstringrequiredThe unique SID of the conversation to list participants for.
page_sizeintegeroptionalThe number of participants to return per page.
twilio_conversations_list#List all Twilio Conversations. Optionally filter by state and control page size.2 params

List all Twilio Conversations. Optionally filter by state and control page size.

NameTypeRequiredDescription
page_sizeintegeroptionalThe number of conversations to return per page.
statestringoptionalFilter conversations by state. One of: active, inactive, closed.
twilio_lookup_phone_number#Look up information about a phone number, such as formatting, carrier, line type, and caller name, using Twilio Lookup.2 params

Look up information about a phone number, such as formatting, carrier, line type, and caller name, using Twilio Lookup.

NameTypeRequiredDescription
phone_numberstringrequiredThe phone number to look up, in E.164 format.
fieldsstringoptionalComma-separated list of data packages to include, e.g. line_type_intelligence, caller_name, sim_swap.
twilio_message_create#Send a new SMS or MMS message from your Twilio account. Requires a sender (from_number or messaging_service_sid) and either body text or media_url.6 params

Send a new SMS or MMS message from your Twilio account. Requires a sender (from_number or messaging_service_sid) and either body text or media_url.

NameTypeRequiredDescription
bodystringrequiredThe text content of the message. Up to 1,600 characters.
tostringrequiredThe recipient's phone number in E.164 format.
from_numberstringoptionalYour Twilio phone number to send from, in E.164 format. Required if messaging_service_sid is not set.
media_urlarrayoptionalURLs of media to include for MMS. jpeg, jpg, gif, and png are fully supported.
messaging_service_sidstringoptionalThe SID of the Messaging Service to send from, instead of a specific from_number.
status_callbackstringoptionalThe URL Twilio calls to send message status callback requests.
twilio_message_delete#Permanently delete a message resource from your Twilio account. This action cannot be undone.1 param

Permanently delete a message resource from your Twilio account. This action cannot be undone.

NameTypeRequiredDescription
message_sidstringrequiredThe unique identifier of the message to delete
twilio_message_get#Retrieve the details of a specific message by its SID.1 param

Retrieve the details of a specific message by its SID.

NameTypeRequiredDescription
message_sidstringrequiredThe unique identifier of the message to retrieve
twilio_message_media_list#Retrieve a list of media resources associated with a specific message.2 params

Retrieve a list of media resources associated with a specific message.

NameTypeRequiredDescription
message_sidstringrequiredThe SID of the message to list media for
page_sizeintegeroptionalNumber of media resources to return per page (1-1000, default 50)
twilio_message_update#Update a message resource. Set body to an empty string to redact the text content of a message, or set status to 'canceled' to cancel a message that is still scheduled to send.3 params

Update a message resource. Set body to an empty string to redact the text content of a message, or set status to 'canceled' to cancel a message that is still scheduled to send.

NameTypeRequiredDescription
message_sidstringrequiredThe SID of the message resource to update.
bodystringoptionalThe new body of the message. Pass an empty string to redact the message text.
statusstringoptionalSet to 'canceled' to cancel a message that is still scheduled to send.
twilio_messages_list#Retrieve a list of messages associated with your Twilio account, with optional filtering by recipient, sender, or date sent.4 params

Retrieve a list of messages associated with your Twilio account, with optional filtering by recipient, sender, or date sent.

NameTypeRequiredDescription
date_sentstringoptionalFilter by date sent (YYYY-MM-DD format)
from_numberstringoptionalFilter by messages sent from this phone number in E.164 format
page_sizeintegeroptionalNumber of messages to return per page (1-1000, default 50)
tostringoptionalFilter by messages sent to this phone number in E.164 format
twilio_messaging_services_list#Retrieve a list of all Messaging Services associated with your Twilio account.1 param

Retrieve a list of all Messaging Services associated with your Twilio account.

NameTypeRequiredDescription
page_sizeintegeroptionalNumber of Messaging Services to return per page (1-1000, default 50)
twilio_phone_number_create#Purchase a new incoming phone number for your Twilio account. Provide either phone_number for a specific number, or area_code to have Twilio pick one.5 params

Purchase a new incoming phone number for your Twilio account. Provide either phone_number for a specific number, or area_code to have Twilio pick one.

NameTypeRequiredDescription
area_codestringoptionalThe desired US/Canada area code for the new number, if phone_number is not set.
friendly_namestringoptionalA descriptive name for the new phone number.
phone_numberstringoptionalThe specific phone number to purchase, in E.164 format.
sms_urlstringoptionalThe URL Twilio calls when the number receives an incoming SMS.
voice_urlstringoptionalThe URL Twilio calls to answer an incoming call to the number.
twilio_phone_number_delete#Release (delete) an incoming phone number from your Twilio account. This action cannot be undone.1 param

Release (delete) an incoming phone number from your Twilio account. This action cannot be undone.

NameTypeRequiredDescription
phone_number_sidstringrequiredThe SID of the incoming phone number to release.
twilio_phone_number_get#Retrieve details of a specific incoming phone number by its SID.1 param

Retrieve details of a specific incoming phone number by its SID.

NameTypeRequiredDescription
phone_number_sidstringrequiredThe SID of the incoming phone number to retrieve.
twilio_phone_number_update#Update the configuration of an existing Twilio incoming phone number, such as its webhook URLs or friendly name.5 params

Update the configuration of an existing Twilio incoming phone number, such as its webhook URLs or friendly name.

NameTypeRequiredDescription
phone_number_sidstringrequiredThe SID of the incoming phone number to update.
friendly_namestringoptionalA new descriptive name for the phone number.
sms_urlstringoptionalThe URL Twilio calls when the number receives an incoming SMS.
status_callbackstringoptionalThe URL Twilio calls to send status information about the number.
voice_urlstringoptionalThe URL Twilio calls to answer an incoming call to the number.
twilio_phone_numbers_list#List all incoming phone numbers on the Twilio account.3 params

List all incoming phone numbers on the Twilio account.

NameTypeRequiredDescription
friendly_namestringoptionalFilter by friendly name of the phone number.
page_sizeintegeroptionalNumber of results to return per page.
phone_numberstringoptionalFilter by phone number in E.164 format.
twilio_queue_create#Create a call queue, used with TwiML's <Enqueue> and <Dequeue> verbs to hold callers (e.g. for a callback or a simple call center).2 params

Create a call queue, used with TwiML's <Enqueue> and <Dequeue> verbs to hold callers (e.g. for a callback or a simple call center).

NameTypeRequiredDescription
friendly_namestringrequiredA descriptive name for this queue. Up to 64 characters.
max_sizeintegeroptionalThe maximum number of calls allowed in the queue at once. Default 1000, maximum 5000.
twilio_queues_list#List call queues on the account, used with TwiML's <Enqueue> and <Dequeue> verbs.1 param

List call queues on the account, used with TwiML's <Enqueue> and <Dequeue> verbs.

NameTypeRequiredDescription
page_sizeintegeroptionalThe number of queues to return per page.
twilio_recording_delete#Permanently delete a call recording from the account. This action cannot be undone.1 param

Permanently delete a call recording from the account. This action cannot be undone.

NameTypeRequiredDescription
recording_sidstringrequiredThe unique identifier of the Recording resource to delete.
twilio_recording_get#Retrieve details of a specific call recording by its SID, including duration, status, and source.1 param

Retrieve details of a specific call recording by its SID, including duration, status, and source.

NameTypeRequiredDescription
recording_sidstringrequiredThe unique identifier of the Recording resource to retrieve.
twilio_recordings_list#Retrieve a list of call recordings for the account, with optional filtering by call SID, date, and pagination.3 params

Retrieve a list of call recordings for the account, with optional filtering by call SID, date, and pagination.

NameTypeRequiredDescription
call_sidstringoptionalFilter recordings by the Call SID they are associated with.
date_createdstringoptionalFilter recordings created on this date (YYYY-MM-DD format).
page_sizeintegeroptionalThe number of results to return per page. Maximum is 1000.
twilio_subaccount_create#Create a new subaccount under the current Twilio account. Subaccounts let you isolate resources (phone numbers, usage, billing) per project or customer while staying under one parent account.1 param

Create a new subaccount under the current Twilio account. Subaccounts let you isolate resources (phone numbers, usage, billing) per project or customer while staying under one parent account.

NameTypeRequiredDescription
friendly_namestringoptionalA human-readable description of the subaccount. Defaults to 'SubAccount Created at {timestamp}' if omitted.
twilio_usage_records_list#Retrieve usage records for a Twilio account, optionally filtered by category and date range.4 params

Retrieve usage records for a Twilio account, optionally filtered by category and date range.

NameTypeRequiredDescription
categorystringoptionalThe usage category to filter by (e.g., sms, calls, phonenumbers).
end_datestringoptionalThe end date for the usage records in YYYY-MM-DD format.
page_sizeintegeroptionalNumber of results to return per page.
start_datestringoptionalThe start date for the usage records in YYYY-MM-DD format.
twilio_usage_records_today#Retrieve today's usage records for a Twilio account, optionally filtered by category.1 param

Retrieve today's usage records for a Twilio account, optionally filtered by category.

NameTypeRequiredDescription
categorystringoptionalThe usage category to filter by (e.g., sms, calls, phonenumbers).
twilio_verification_check#Check a one-time verification code entered by a user against a Twilio Verify service. Provide either 'to' or 'verification_sid'.4 params

Check a one-time verification code entered by a user against a Twilio Verify service. Provide either 'to' or 'verification_sid'.

NameTypeRequiredDescription
codestringrequiredThe verification code entered by the user.
service_sidstringrequiredThe SID of the Verify service to check against.
tostringoptionalThe phone number or email address being verified. Required if verification_sid is not set.
verification_sidstringoptionalThe SID of the verification to check. Required if 'to' is not set.
twilio_verification_create#Start a phone or email verification by sending a one-time code via Twilio Verify.4 params

Start a phone or email verification by sending a one-time code via Twilio Verify.

NameTypeRequiredDescription
channelstringrequiredThe verification method to use.
service_sidstringrequiredThe SID of the Verify service to use.
tostringrequiredThe phone number (E.164 format) or email address to verify.
localestringoptionalThe locale to use for the verification message.
twilio_verification_get#Retrieve the status and details of a specific verification by its SID.2 params

Retrieve the status and details of a specific verification by its SID.

NameTypeRequiredDescription
service_sidstringrequiredThe SID of the Verify service.
verification_sidstringrequiredThe SID of the verification to retrieve.
twilio_verification_update#Update the status of a pending Twilio Verify verification: cancel it, or force-approve it without checking a code.3 params

Update the status of a pending Twilio Verify verification: cancel it, or force-approve it without checking a code.

NameTypeRequiredDescription
service_sidstringrequiredThe SID of the Verify service the verification belongs to.
statusstringrequiredThe new status for the verification.
verification_sidstringrequiredThe SID of the verification to update.
twilio_verify_service_create#Create a new Twilio Verify service for sending verification codes via SMS, call, email, or WhatsApp.5 params

Create a new Twilio Verify service for sending verification codes via SMS, call, email, or WhatsApp.

NameTypeRequiredDescription
friendly_namestringrequiredA descriptive name for the Verify service.
code_lengthintegeroptionalThe length of the verification code to generate. Must be between 4 and 10.
lookup_enabledstringoptionalWhether to perform a lookup on the phone number before sending verification.
psd2_enabledstringoptionalWhether to enable PSD2 compliance for the service.
skip_sms_to_landlinesstringoptionalWhether to skip sending SMS to landline phone numbers.
twilio_verify_service_delete#Delete a Twilio Verify service by its SID. This action is irreversible.1 param

Delete a Twilio Verify service by its SID. This action is irreversible.

NameTypeRequiredDescription
service_sidstringrequiredThe unique SID of the Verify service to delete.
twilio_verify_service_get#Retrieve details of a specific Twilio Verify service by its SID.1 param

Retrieve details of a specific Twilio Verify service by its SID.

NameTypeRequiredDescription
service_sidstringrequiredThe unique SID of the Verify service to retrieve.
twilio_verify_service_update#Update settings of an existing Twilio Verify service, such as its code length or friendly name.6 params

Update settings of an existing Twilio Verify service, such as its code length or friendly name.

NameTypeRequiredDescription
service_sidstringrequiredThe SID of the Verify service to update.
code_lengthintegeroptionalNumber of digits in the verification code (4-10).
friendly_namestringoptionalA new human-readable name for this verification service.
lookup_enabledstringoptionalEnable phone number lookup before verification.
psd2_enabledstringoptionalEnable PSD2 compliant verification messages.
skip_sms_to_landlinesstringoptionalSkip SMS delivery to landline numbers.
twilio_verify_services_list#List all Twilio Verify services on the account.1 param

List all Twilio Verify services on the account.

NameTypeRequiredDescription
page_sizeintegeroptionalNumber of results to return per page. Maximum is 1000.