---
title: "Delete a webchat message."
method: DELETE
path: "/webchat_messages/{id}"
tags: ["Webchat"]
---

# Delete a webchat message.

`DELETE /webchat_messages/{id}`

Deletes an existing webchat message by its ID.

## Path parameters

- `id` string, uuid, required

## Response `200`

Message successfully deleted.

- WebchatManagerMessage — A single chat message within a webchat session.
  - `id` string, uuid, required — The unique identifier of the message. Returned from the `POST /messages` or `GET /messages` response.
  - `customer_id` string, uuid, required — The unique identifier of the associated customer. Returned from the `GET /customers` response.
  - `widget_id` string, uuid, required — The widget this message belongs to (denormalized from the session). Returned from the `POST /widgets` or `GET /widgets` response.
  - `session_id` string, uuid, required — The session this message belongs to. Returned from the `POST /sessions` or `GET /sessions` response.
  - `direction` 'inbound' | 'outbound', required — The direction of the message.
  - `status` 'sent' | 'delivered' | 'failed', required — The status of the message.
  - `sender_id` string, uuid — The agent ID for an agent-typed outbound reply; empty for flow/AI-originated or inbound messages.
  - `text` string, required — The text content of the message.
  - `tm_create` string, date-time — Timestamp when the message was created.
  - `tm_delete` string, date-time — Timestamp when the message was deleted.

## Other responses

- `400` — Invalid request (INVALID_ARGUMENT).
- `401` — Authentication required (UNAUTHENTICATED).
- `403` — Insufficient permission (PERMISSION_DENIED).
- `404` — Resource not found (NOT_FOUND).
- `500` — Internal error (INTERNAL).

---

[API](https://skmtc.net/voipbin/apis/voipbin-api.md) · [All operations](https://skmtc.net/voipbin/apis/voipbin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voipbin/voipbin-api/versions/79e779080bcc/schema)
