Update read status and clear unread message indicators across peer-to-peer (C2C) order chat sessions for the specified user and order identifier.
/sapi/v1/c2c/chat/markOrderMessagesAsRead
This endpoint allows client applications, merchant management dashboards, and automated trading bots to acknowledge incoming chat messages within an active or completed C2C (P2P) order.
By providing the order number (orderNo) and the target account user ID (userId), callers clear the unread notification badge and update read receipts for the counterparty.
Integrating this call inside automated notification pipelines ensures customer service consoles maintain synchronized unread counters across web, desktop, and mobile terminals.
Parameters accepted in Body and HTTP Headers.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
clientType |
Header | STRING | Required |
Client Device Type initiating the request (e.g., WEB, APP, WEB_MOBILE).
|
orderNo |
Body | STRING | Required | Unique C2C order number identifier associated with the chat thread. |
userId |
Body | INT64 | Optional | Target account user identifier marking the conversation as read. |
x-gray-env |
Header | STRING | Optional | Environment flag identifier used for internal gray/stage testing. |
x-trace-id |
Header | STRING | Optional | Custom client trace ID for request lifecycle tracking and debugging. |
x-user-id |
Header | STRING | Optional | Target user identifier for context validation. |
Trigger this endpoint automatically as soon as an operator or bot pulls new messages via websocket or polling endpoints to keep notification queues accurate.
Example POST request using cURL to mark conversation messages as read.
curl -X POST \
'https://api.binance.com/sapi/v1/c2c/chat/markOrderMessagesAsRead' \
-H 'clientType: WEB' \
-H 'Content-Type: application/json' \
-d '{
"orderNo": "202608171234567890",
"userId": 123456789
}'
Example response returned on successful status update.
{
"code": "000000",
"message": "success",
"data": null,
"success": true
}
| Field | Type | Description |
|---|---|---|
code |
STRING |
Standard Binance status code ("000000" indicates success).
|
message |
STRING | Response execution feedback or status message. |
data |
NULL / VOID | Void return payload on successful acknowledgment. |
success |
BOOLEAN | Indicates overall request execution result. |
Workflow for synchronizing chat read statuses.
Clear notification counters automatically when an operator opens an active trade window in merchant software.
Allow automated conversational bots to mark processed customer inquiries as read after parsing keywords.
Prevent duplicate operator replies by accurately reflecting read states across team member consoles.
This article is part of our complete learning guide covering professional cross-exchange cryptocurrency arbitrage.
Explore the Spot Arbitrage Guide →This article is part of our complete learning guide covering Binance P2P automation, merchant tools, and automated trading.
Explore the Binance P2P Automation Guide →