Gallery Platform API
Reference

Triage an inbox thread

Updates a thread's triage fields: `state` (open/snoozed/done), `assigned_to`, and `snooze_until`.

PATCH
/gallery/inbox/threads/{id}

Updates a thread's triage fields: state (open/snoozed/done), assigned_to, and snooze_until.

Authorization

bearerAuth inbox:update
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: inbox:update

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

Optional. Send a unique key per logical operation to make retries safe: a retry with the same key replays the stored success for 14 days instead of re-running the write. Reusing a key with a different body returns 400.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Triage a thread (state, assignee, snooze, contact link).

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "id": "string",  "channel": "email",  "contact_id": "string",  "contact_name": "string",  "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",  "provider_thread_id": "string",  "subject": "string",  "last_from": "string",  "last_snippet": "string",  "last_message_at": "string",  "unread_count": -9007199254740991,  "state": "open",  "assigned_to": "string",  "snooze_until": "string",  "created_at": "string",  "updated_at": "string"}