API
PATCH /api/dm/threads/{thread_id}/read
Mark Thread Read
PATCH /api/dm/threads/{thread_id}/read
Mark Thread Read
Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
thread_id | path | string | Yes | - |
X-Org-ID | header | string | null | No | - |
Example request
curl -X PATCH https://api.cognitivx.io/api/dm/threads/{thread_id}/read \
-H "Authorization: Bearer icog_..."Responses
| Status | Description |
|---|---|
204 | Success with no response body. |
422 | Request validation failed. detail lists each offending field. |