Overview
This endpoint allows you to perform bulk actions on all messages within a thread. Actions affect all messages in the thread simultaneously, making it easy to manage entire conversations.Authentication
Bearer token for API authentication. Format:
Bearer YOUR_API_KEY
Path Parameters
The unique identifier of the thread to perform actions on.
Request Body
The action to perform on the thread. Valid values:
mark_as_read
- Mark all messages in the thread as readmark_as_unread
- Mark all messages in the thread as unreadarchive
- Archive all messages in the threadunarchive
- Unarchive all messages in the thread
Response
Whether the action was completed successfully.
The action that was performed.
The ID of the thread that was acted upon.
Number of messages that were affected by the action.
Human-readable description of what was accomplished.