---
title: "Update message delivery status"
method: POST
path: "/{scope_id}/{msgid}/delivery_status"
---

# Update message delivery status

`POST /{scope_id}/{msgid}/delivery_status`

## Request

- Base URL: `https://amojo.kommo.com/v2/origin/custom`
- URL: `https://amojo.kommo.com/v2/origin/custom/{scope_id}/{msgid}/delivery_status`
- Auth: none required

The method allows you to update the delivery status of a specific message.

## Path parameters

- `scope_id` string, required
- `msgid` string, required

## Headers

- `Content-Type` 'application/json'
- `Date` string
- `Content-MD5` string
- `X-Signature` string

## Request body

- object
  - `RAW_BODY` object
    - `status_code` 1 | 2 | -1: Message delivery status. Available statuses are described here: https://developers.kommo.com/reference/update-delivery-status#message-status-codes
    - `error_code` 901 | 902 | 903 | 904 | 905: Error code. Required only if `"status_code": -1`. Available types are described here: https://developers.kommo.com/reference/update-delivery-status#error-codes
    - `error` string: Error text that will be displayed in Kommo interface. Required only if `"status_code": -1` and `"error_code": 905`

## Response `200`

200

- object

## Other responses

- `400`: 400
- `403`: 403
- `404`: 404

---

[API](https://skmtc.dev/kommo/apis/chats-api.md) - [All operations](https://skmtc.dev/kommo/apis/chats-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kommo/apis/chats-api/revisions/174554fdf536?raw)
