Acknowledge all unread peer-to-peer (C2C) chat messages and clear global notification badges across all active trade conversations for the authenticated account.
/sapi/v1/c2c/chat/markUserMessagesAsRead
Unlike order-specific read acknowledgment, this endpoint acts globally across the user's entire C2C (P2P) trading portfolio. Calling this endpoint instantly marks every incoming chat message across all concurrent and historical orders as read.
Merchant helpdesks, bulk customer service dashboards, and automated trading consoles use this endpoint to execute "Mark All as Read" actions and clear global unread message counters in one single request.
Header parameters accepted by the endpoint.
| Header | Type | Required | Description |
|---|---|---|---|
clientType |
STRING | Required |
Client Device Type initiating the request (e.g., WEB, APP, WEB_MOBILE).
|
x-gray-env |
STRING | Optional | Environment flag identifier used for internal gray/stage testing. |
x-trace-id |
STRING | Optional | Custom client trace ID for request lifecycle tracking and debugging. |
x-user-id |
STRING | Optional | Target user identifier for context validation. |
This request takes no body payload. It automatically identifies the authenticated user context and resets unread indicators across all active order chat threads simultaneously.
Example POST request using cURL to clear all unread messages globally.
curl -X POST \
'https://api.binance.com/sapi/v1/c2c/chat/markUserMessagesAsRead' \
-H 'clientType: WEB'
Example response returned on successful global 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 global chat message read state synchronization.
Power the global batch action button in merchant chat sidebars to dismiss stale notifications across multiple orders at once.
Clear obsolete unread indicators when operators sign in to start a new shift on high-volume P2P trading desks.
Prevent notification badge spam on automated accounts processing hundreds of high-frequency micro-orders daily.
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 →