PATCH
cURL
Marks every message in a conversation read or unread, moves the conversation to inbox, archive, trash or spam, or both at once. Send at least one of read or folder.
Needs an API key with full access.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Required string length: 1 - 64
Pattern: ^[A-Za-z0-9_-]+$
Example:

"cm9abc123"

Body

application/json
read
boolean
folder
enum<string>
Available options:
inbox,
archive,
trash,
spam

Response

200 - application/json

Marks every message in the thread read or unread, and/or moves them all to a folder

success
boolean
required