---
title: "Sms received"
method: POST
path: "sms.received"
tags: ["SMS messages"]
---

# Sms received

`POST sms.received` (webhook)

Triggered when someone texts your business number

## Headers

- `webhook-id` string, required
- `webhook-timestamp` string, required
- `webhook-signature` string, required

## Payload

- object
  - `id` string, required: Unique identifier for this webhook event
  - `object` 'event', required
  - `type` 'sms.received', required: The event type
  - `livemode` boolean, required: `false` when a test purchase or a test event from the dashboard caused this event, `true` otherwise
  - `created_at` string, date-time, required: ISO 8601 timestamp of when the event was created
  - `api_version` string, required: API version used to generate the payload
  - `data` object, required: `object` is the resource exactly as its API endpoint returns it.
    - `object` SmsMessage, required
      - `id` string, required
      - `object` string, required
      - `direction` 'inbound' | 'outbound', required
      - `author` 'contact' | 'assistant' | 'outreach' | 'agent', required
      - `status` 'received' | 'pending' | 'sent' | 'delivered' | 'failed' | 'refused' | 'superseded' | 'canceled', required
      - `body` string, required
      - `segments` integer, required
      - `credits_charged` integer, nullable, required
      - `error` string, nullable, required
      - `sent_at` string, date-time, nullable, required
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
      - `phone_number` string, required
      - `counterpart` string, required
      - `contact` string, nullable, required
      - `failure` 'undelivered' | 'send_failed' | 'null', nullable, required: Why a failed text failed: undelivered when the carrier accepted it and could not deliver it, send_failed when it was never sent. null unless status is failed.
      - `suppression` string, nullable, required: The phone suppression (`psup_...`) a refused text was held back by. null unless status is refused for a suppressed number.
      - `sms_follow_up` string, nullable, required

## Acknowledgement `200`

Return any 2xx status within 5 seconds to acknowledge receipt.

---

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