Reach: Templates

Create an email template

Create an email template in a profile.

The template holds the HTML body a campaign reuses, so it can be created before any campaign exists. Only the template metadata comes back - keep the returned uuid to reference it as the template_uuid of a campaign.

post/api/reach/v1/profiles/{profileUuid}/templates

Path parameters

profileUuidstring required
Example:550e8400-e09b-41d4-a716-400055000000

Profile uuid parameter

Request body

template_contentstring required

The email body as HTML. It is sanitised before it is stored, so the saved template can differ from what was sent - inline any styles the email clients need and keep the markup self-contained.

titlestring nullable

Name the template is listed under. Not shown to the recipients.

Example request

{
  "template_content": "<html><body><h1>Email Template</h1><p>Hello, traveler!</p></body></html>",
  "title": "Summer Sale Draft"
}

Response

Success response

uuidstring nullable

Pass this as the template_uuid of a campaign.

titlestring nullable

Null for templates that were never named.

created_atstring date-time nullable
updated_atstring date-time nullable

Example response

{
  "uuid": "550e8400-e29b-41d4-a716-446655440000",
  "title": "Newsletter Template",
  "created_at": "2025-02-27T11:54:22Z",
  "updated_at": "2025-03-04T09:12:07Z"
}

Changes

Changed in 1 of the 116 revisions of this API.1