Messages

Update a thread

Applies to every message in the thread: labels (replace with labels, or change with addLabels / removeLabels), read, starred, archived and spam. Labelling a thread labels each of its messages.

patch/v1/inboxes/{id}/threads/{threadId}

Request

  • Base URL: https://anjal.app
  • URL: https://anjal.app/v1/inboxes/{id}/threads/{threadId}
  • Auth: API key in header X-API-Key

Request body

isReadboolean
isStarredboolean
isArchivedboolean
isSpamboolean

true moves the thread to Spam; false recovers it.

Response

Updated

updatedboolean
threadIdstring
messageCountinteger
labelsstring[]

Changes

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