---
title: "Twilio Sms Status"
method: POST
path: "/api/twilio/sms/status"
---

# Twilio Sms Status

`POST /api/twilio/sms/status`

## Request

- Base URL: `https://api.versemedical.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.versemedical.com/api/twilio/sms/status`
- Auth: none declared

Webhook for Twilio SMS delivery-status callbacks.

`ErrorCode` is only sent on a failed or undelivered callback, so it has to
be optional. It is persisted because the code is the only thing that makes
a delivery failure attributable — 21610 (opted-out recipient) means SMS can
never reach that number again, where a carrier block may clear.

## Request body `application/x-www-form-urlencoded`

- BodyTwilioSmsStatusApiTwilioSmsStatusPost
  - `MessageSid` string, nullable
  - `MessageStatus` string, nullable
  - `ErrorCode` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-29** `553023dbdb8b`: 1 info
  - added the new optional request property `ErrorCode`

[Operation history](https://skmtc.dev/versemedical/apis/versemedical-api/changes/api/twilio/sms/status/post.md)

---

[API](https://skmtc.dev/versemedical/apis/versemedical-api.md) - [All operations](https://skmtc.dev/versemedical/apis/versemedical-api/llms.txt) - [OpenAPI document](https://skmtc.dev/versemedical/apis/versemedical-api/revisions/420c2032b2cf?raw)
