Commune icon

Commune

Send and receive emails, manage inboxes, and search conversations with Commune

Actions14

Thread → Update Status

AI-generated

Summary

Updates a thread status via PUT /threads/{threadId}/status.

Inputs

  • threadId (required) — The thread to update
  • status (required) — New status to set on the thread

Output shape

Flattened API response from PUT /threads/{threadId}/status. The Commune API response envelope ({ data: ... }) is unwrapped; each input item produces one output item with { json: }. Returns an array of such items.

Uses Commune API endpoint /threads/${threadId}/status with body { status } and Authorization: Bearer <apiKey> header.

Examples

Example 1: Mark a thread as needing reply

threadId: thread_abc123, status: needs_reply

Links

Discussion