Newsletter

Set Template Button Action

Repoint a button in a template. Deterministic - no AI, no credit.

post/newsletters/templates/{template_id}/set-button-action

Request

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

Path parameters

template_idinteger required

Template id.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

g8_action_idstring required
action_type'url' | 'mailto' required
hrefstring nullable

For url.

emailstring nullable

For mailto.

target'_self' | '_blank' nullable

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.