Chat Thread - Send Chat Read Receipt
Sends a read receipt event to a thread, on behalf of a user.
POST {endpoint}/chat/threads/{chatThreadId}/readReceipts?api-version=2025-03-15
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
chat
|
path | True |
string |
Thread id to send the read receipt event to. |
|
endpoint
|
path | True |
string |
The endpoint of the Azure Communication resource. |
|
api-version
|
query | True |
string |
Version of API to invoke. |
Request Header
| Name | Required | Type | Description |
|---|---|---|---|
| Authorization | True |
string |
An ACS (Azure Communication Services) user access token. |
Request Body
| Name | Required | Type | Description |
|---|---|---|---|
| chatMessageId | True |
string |
Id of the latest chat message read by the user. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Request successful. |
|
| 401 Unauthorized |
Communication |
Unauthorized. |
| 403 Forbidden |
Communication |
Forbidden. |
| 429 Too Many Requests |
Communication |
Too many requests. |
| Other Status Codes |
Communication |
Service unavailable. |
Security
Authorization
An ACS (Azure Communication Services) user access token.
Type:
apiKey
In:
header
Examples
Send read receipt
Sample request
POST https://contoso.westus.communications.azure.com/chat/threads/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/readReceipts?api-version=2025-03-15
{
"chatMessageId": "1591137790240"
}
Sample response
{
"error": {
"code": "Unauthorized",
"message": "Request is not authorized."
}
}
{
"error": {
"code": "Forbidden",
"message": "User is not allowed to perform specified action."
}
}
{
"error": {
"code": "TooManyRequests",
"message": "Rate limit exceeded."
}
}
{
"error": {
"code": "ServiceUnavailable",
"message": "The server is currently unable to handle the request."
}
}
Definitions
SendReadReceiptRequest
Request payload for sending a read receipt.
| Name | Type | Description |
|---|---|---|
| chatMessageId |
string |
Id of the latest chat message read by the user. |