Skip to content
Maua.Culturewire

Twilio

SMS, calls, phone numbers and WhatsApp via Twilio

CommunicationDeveloper toolsCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Account SID (AC…)RequiredIdentifier
    • Auth TokenSecretRequired

    Where to find them

    At console.twilio.com, in the “Account Info” box on the main page, copy the “Account SID” (AC…) and the “Auth Token” (click “Show” to reveal it). Note: the Auth Token gives full access to the account, including sending messages and making calls charged to the balance.

    Get credentials (opens in a new tab)

Tools (2)

  • Twilio API requestTWILIO_SEND_REQUEST

    Authenticated call to the Twilio API (https://api.twilio.com/2010-04-01/Accounts/{account_sid}). Any endpoint of the API is allowed. The base already includes the account and POST requests are sent as form data (not JSON). Examples: GET /Messages.json?PageSize=20, POST /Messages.json with form data {To: "+1…", From: "+…", Body: "…"}, GET /Messages/{sid}.json, GET /IncomingPhoneNumbers.json, GET /Calls.json?PageSize=20, GET /Usage/Records/ThisMonth.json. To paginate use the full URL https://api.twilio.com + next_page_uri. Other APIs with a full URL: https://lookups.twilio.com/v2/PhoneNumbers/+1…, https://verify.twilio.com/v2/Services, https://messaging.twilio.com/v1/Services.

    Required scopes

    No scopes required

    Input

    Twilio API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Send an SMSTWILIO_SEND_SMS

    Send an SMS (or a WhatsApp message, with the whatsapp: prefix) from a Twilio number or a messaging service. It has a cost.

    Required scopes

    No scopes required

    Input

    Send an SMS input
    NameTypeDescription
    torequiredstringDestination in E.164 format, e.g. +12025550123 (whatsapp:+1… for WhatsApp)
    fromrequiredstringSending Twilio number (+…, or whatsapp:+…) or messaging service SID (MG…)
    textrequiredstring