---
title: "Delete talk message"
method: DELETE
path: "/service_agents/talk_messages/{id}"
tags: ["Service Agent"]
---

# Delete talk message

`DELETE /service_agents/talk_messages/{id}`

Deletes a specific talk message (soft delete).

## Path parameters

- `id` string, required

## Response `200`

Talk message deleted successfully.

- TalkManagerMessage
  - `id` string, uuid — The unique identifier of the message. Returned from the `POST /service_agents/talk_messages` or `GET /service_agents/talk_messages` response.
  - `customer_id` string, uuid — The unique identifier of the customer who owns this message. Returned from the `GET /customers` response.
  - `owner_type` string — Resource's owner type.
  - `owner_id` string, uuid — The unique identifier of the message author. Returned from the corresponding owner resource endpoint.
  - `chat_id` string, uuid — The unique identifier of the talk this message belongs to. Returned from the `GET /service_agents/talk_chats` response.
  - `parent_id` string, uuid — The unique identifier of the parent message (for threaded replies). Returned from the `GET /service_agents/talk_messages` response.
  - `type` 'normal' | 'system' — Type of the message.
  - `text` string — Message text content.
  - `medias` TalkManagerMedia[] — Media attachments.
    - `type` 'address' | 'agent' | 'file' | 'link' — Type of the media content.
    - `address` CommonAddress — Contains source or destination detail info.
      - `type` '' | 'agent' | 'conference' | 'email' | 'extension' | 'line' | 'sip' | 'tel' | 'web_session' — Type of address.
      - `target` string — The address endpoint. Format depends on type: phone number for tel (e.g. +14155551234), UUID for agent/conference/extension, email for email, SIP URI for sip.
      - `target_name` string — Address's name.
      - `name` string — Optional label for this address.
      - `detail` string — Additional notes about this address.
    - `agent_id` string, uuid — The unique identifier of the agent. Valid only if the type is `agent`. Returned from the `GET /agents` response.
    - `file_id` string, uuid — The unique identifier of the file. Valid only if the type is `file`. Returned from the `GET /storage_files` response.
    - `link_url` string, uri — The URL of the linked resource. Valid only if the type is `link`.
  - `metadata` TalkManagerMetadata
    - `reactions` TalkManagerReaction[] — List of reactions on the message.
      - `emoji` string — Emoji character for the reaction.
      - `owner_type` string — Type of the owner who reacted.
      - `owner_id` string, uuid — The unique identifier of the owner who reacted. Returned from the corresponding owner resource endpoint (e.g., `GET /agents`).
      - `tm_create` string, date-time — Timestamp when the reaction was created.
  - `tm_create` string, date-time — Timestamp when the message was created.
  - `tm_update` string, date-time — Timestamp when the message was last updated.
  - `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)
