Newsletter

Create Template From Prompt

Build a template from a plain-language idea. ASYNC and AI-backed.

voice_reference_issue_ids points the model at past issues to imitate, which is the difference between generic copy and something that sounds like the organisation. Same polling contract as /templates/layout.

post/newsletters/templates/custom

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/newsletters/templates/custom
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

ideastring required

What the email should say, in plain words.

goalstring

What it is for, e.g. product.

audience_idstring nullable
tonestring nullable
lengthstring nullable
voice_reference_issue_idsstring[]

Past issues to imitate the voice of.

variantsinteger nullable

How many alternatives to generate.

Response

Successful Response

dataNewsletterPayload required

An open envelope for a newsletter, an issue, a template or a send row.

Changes

No recorded changes to this operation across all 2 revisions of this API.