Gallery Platform API
Reference

Draft a reply to an inbox thread

Drafts a suggested reply body for a thread from its conversation history and the linked contact — a starting point the member edits. Read-shaped: it returns a draft and sends nothing (sending stays the separate reply endpoint). The model loop is server-only (the key never reaches the browser); member-private, first-party (session) only.

POST
/gallery/inbox/threads/{id}/draft-reply

Drafts a suggested reply body for a thread from its conversation history and the linked contact — a starting point the member edits. Read-shaped: it returns a draft and sends nothing (sending stays the separate reply endpoint). The model loop is server-only (the key never reaches the browser); member-private, first-party (session) only.

Authorization

bearerAuth inbox:read
AuthorizationBearer <token>

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

In: header

Scope: inbox:read

Path Parameters

id*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "body_text": "string"}