Skip to main content
POST
/
api
/
webhook
/
textgrid
/
sms-status
Handle TextGrid SMS delivery status callback
curl --request POST \
  --url https://your-instance.example.com/api/webhook/textgrid/sms-status \
  --header 'Content-Type: application/json' \
  --data '
{
  "MessageSid": "TG5f7b1c2e8a1d4e0012c3b4a5",
  "SmsSid": "TG5f7b1c2e8a1d4e0012c3b4a5",
  "MessageStatus": "delivered",
  "From": "+12362320246",
  "To": "+14165550100"
}
'
"OK"

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

TextGrid delivery status callback. Only delivered and undelivered are sent.

MessageSid
string

TextGrid message identifier whose status is being reported.

SmsSid
string

Twilio-compatible alias of MessageSid; usually identical.

MessageStatus
string

Delivery state: delivered or undelivered.

From
string

Tether-provisioned TextGrid number the message was sent from.

To
string

Recipient phone number for the outbound message.

ErrorCode
string

TextGrid error code when delivery failed.

ErrorMessage
string

Human-readable error description paired with ErrorCode.

Response

200 - text/plain

Plain-text acknowledgement (TextGrid only checks 2xx).

The response is of type string.

Example:

"OK"