PATCH · Bearer

PATCH /api/v1/inboxes/:id/threads/:threadId

Summary

Add or remove labels on every message in the thread. Same rules as message labels: read and unread can change; other system labels cannot. Works on a paused inbox. Returns the thread and messages_updated. Unknown thread returns 404 thread_not_found.

Request

{
  "add_labels": [
    "follow-up"
  ],
  "remove_labels": [
    "unread"
  ]
}

Response

The OpenAPI document does not declare a JSON response schema for this call. The summary is the contract.

Errors

  • HTTP 404 thread_not_found

Idempotency

This route does not document Idempotency-Key or client_id.