Twilio

Get Twilio Message Status

Checks the delivery status of one Twilio message by its SID.

Unverified

What the model is told

Look up the status of a message you sent earlier, using the message SID returned when it was sent. Returns the status (for example queued, sent, delivered, undelivered or failed), plus error_code if it failed. Do not read out the message contents to anyone other than the customer it was sent to.

Request

GEThttps://api.twilio.com/2010-04-01/Accounts/YOUR_TWILIO_ACCOUNT_SID/Messages/{{messageSid}}.json

Headers

  • AuthorizationBasic YOUR_BASE64_ACCOUNT_SID_AND_AUTH_TOKEN

Parameters

  • messageSid stringThe 34-character message SID starting with SM or MM.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "c19bb60e-a9e4-47dd-bfef-90c48d8b57ed",
    "type": "HTTP_REQUEST",
    "label": "Get Twilio Message Status",
    "name": "get_twilio_message_status",
    "customName": false,
    "description": "Look up the status of a message you sent earlier, using the message SID returned when it was sent. Returns the status (for example queued, sent, delivered, undelivered or failed), plus error_code if it failed. Do not read out the message contents to anyone other than the customer it was sent to.",
    "parameters": [
      {
        "name": "messageSid",
        "type": "string",
        "description": "The 34-character message SID starting with SM or MM."
      }
    ],
    "config": {
      "endpoint": {
        "method": "GET",
        "url": "https://api.twilio.com/2010-04-01/Accounts/YOUR_TWILIO_ACCOUNT_SID/Messages/{{messageSid}}.json"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Basic YOUR_BASE64_ACCOUNT_SID_AND_AUTH_TOKEN"
        }
      ],
      "body": null,
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.