Gallery Platform API
Reference

Suggest an offer subject line

Suggests an email subject line for an offer from its title, work count, and the gallery name. Read-shaped: it returns a suggestion and writes nothing (the sender edits it before saving). The model loop is server-only (the key never reaches the browser) with a deterministic template fallback; requires a first-party session.

POST
/gallery/offers/{id}/suggest-subject

Suggests an email subject line for an offer from its title, work count, and the gallery name. Read-shaped: it returns a suggestion and writes nothing (the sender edits it before saving). The model loop is server-only (the key never reaches the browser) with a deterministic template fallback; requires a first-party session.

Authorization

bearerAuth offers:read
AuthorizationBearer <token>

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

In: header

Scope: offers: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

{  "subject": "string"}