Messaging

Update a chat

Marks a chat read or unread. read is required and must be a boolean.

patch/v1/{account_id}/chats/{chat_id}

Request

  • Base URL: https://api.curviate.com
  • URL: https://api.curviate.com/v1/{account_id}/chats/{chat_id}
  • Auth: HTTP bearer

Path parameters

account_idstring required

The account ID (acc_...) that owns the chat.

chat_idstring required

The unique identifier of the chat to update.

Request body

readboolean

Mark the chat read (true) or unread (false).

Response

The chat was updated. Echoes the applied field.

object'chat_updated'

Response type discriminator.

chat_idstring

The updated chat's identifier.

readboolean

The applied read status.

Example response

{
  "safety_warning": {
    "row": "profile_views",
    "reset_at": "2026-09-05T00:00:00.000Z",
    "hint": {
      "parameter": "profile_views.ceiling",
      "message": "This account is at its ceiling for profile_views. This action went through because profile_views.posture is warn, and it counted: 101 of 100 this window. Raise profile_views.ceiling, or wait for the window to reset at 2026-09-05T00:00:00.000Z."
    },
    "reason": "ceiling",
    "blocked": false
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.