Newsletter

Set Template Media Edit

Change or remove an image in a template. Deterministic - no AI.

post/newsletters/templates/{template_id}/set-media-edit

Request

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

Path parameters

template_idinteger required

Template id.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

g8_action_idstring required
removeboolean

Delete the image. Other fields are then ignored.

srcstring nullable
altstring nullable
widthinteger nullable
heightinteger nullable
align'left' | 'center' | 'right' 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.