Newsletter

Create Template From Layout

Build a template from a named layout archetype. ASYNC and AI-backed.

202 rather than 201: the row exists immediately but the copy inside it is still being generated. Poll GET /newsletters/templates/{template_id}/generation-status - a template read before that reports done is a half-written one.

post/newsletters/templates/layout

Request

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

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

archetype_keystring required

Which layout to build from.

audience_idstring nullable

Audience the copy is aimed at.

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.