---
title: "Proxy the messages related webhook events to chatster service"
method: POST
path: "/webhooks/twilio/messages"
tags: ["Message Webhooks"]
---

# Proxy the messages related webhook events to chatster service

`POST /webhooks/twilio/messages`

## Response `200`

The message resource

- CreateMessageBodyParamResponseDef
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `medium` 'sms' | 'whatsapp', required
  - `body` string, required
  - `from` string, required
  - `to` string, required
  - `request_uuid` string, required — This allows external system to track the status changes of the message
  - `external_id` string
  - `delivery_status` 'pending' | 'accepted' | 'queued' | 'sending' | 'sent' | 'failed' | 'undelivered' | 'delivered' | 'read', required
  - `failure` object
    - `reason` string
    - `code` string

## Other responses

- `204` — No Content. There were no records to return based on your query.
- `400` — Message status update validation error response definition
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
