In-app Chat
ZIMAudio
On this page

C2cDeliveryReceipt

2026-07-24
POST

https://zim-api.zego.im/

Use this API to set delivered receipts for one-to-one messages.

The server can call this API to report the delivery status on behalf of the message receiver. After a successful call, the message sender will receive a delivery receipt push for the corresponding message.

Note
FromUserId is the receiver (operator), and ConvId is the one-to-one chat peer user ID (typically the message sender).

Note
Rate limit: 20 requests/second.

Request

Query Parameters

    Action stringrequired

    Possible values: [C2cDeliveryReceipt]

    API prototype parameter

    https://zim-api.zego.im/?Action=C2cDeliveryReceipt

    AppId uint32required

    💡Public parameter. Application ID, assigned by ZEGOCLOUD. Get it from the ZEGOCLOUD Admin Console.

    SignatureNonce stringrequired

    💡Public parameter. A 16-character hexadecimal random string (hex encoding of 8-byte random number). Refer to Signature example for how to generate.

    Timestamp int64required

    💡Public parameter. Current Unix timestamp, in seconds. Refer to Signature example for how to generate, with a maximum error of 10 minutes.

    SignatureVersion stringrequired

    Possible values: [2.0]

    Default value: 2.0

    💡Public parameter. Signature version number.

    Signature stringrequired

    💡Public parameter. Signature, used to verify the legitimacy of the request. Refer to Signing the requests for how to generate an API request signature.

Body

required
    FromUserId stringrequired

    The operator (message receiver). Must be a registered user.

    ConvId stringrequired

    Conversation ID, i.e., the one-to-one chat peer user ID.

    ConvMsgSeq number[]required

    Message sequence numbers for which delivered receipts need to be set. Up to 10 per request.

Responses

OK
Schema
    Code number

    Return code. (0 indicates success)

    The following only lists return codes related to the API business logic. For the complete list of return codes, please refer to Global return codes.

    Return CodeDescriptionSolution
    660000002Invalid parameterPlease check the parameters
    660300005Rate limit exceededPlease try again later
    660400102Number of receipt messages exceeds the limitUp to 10 per request, please reduce and retry
    660400104Failed to set receipts for one-to-one messagesContact technical support
    Message string

    Return status message.

    RequestId string

    Unique request identifier.

    DeliveredTime number

    Server timestamp when the delivered receipt is successfully set for the receiver.

Previous

Set read receipts for group messages

Next

Set delivered receipts for group messages

On this page

Back to top