Newsletter

Set Template Approval

Move a template through its lifecycle.

approved is what makes it usable in the gallery; archived takes it out of circulation without destroying it. One explicit status rather than separate approve and reject calls, so a retry is idempotent instead of toggling.

post/newsletters/templates/{template_id}/approval

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/newsletters/templates/{template_id}/approval
  • Auth: HTTP bearer

Path parameters

template_idinteger required

Template id.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

status'draft' | 'approved' | 'archived' required

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.