For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get email template

Get one email template of the profile with its full HTML in templatecontent.

Get email template

get

Get one email template of the profile with its full HTML in template_content.

A campaign's email content is its template: to read what a campaign sends, get the campaign and pass its template_uuid here. The HTML can be large, so fetch it only when the content itself is needed, never to browse or pick templates - the list email templates endpoint does that without content. Personalization tags such as {{name}} come back unrendered.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
profileUuidstringRequired

Profile uuid parameter

Example: 550e8400-e09b-41d4-a716-400055000000
templateUuidstringRequired

Template uuid parameter

Example: 550e8400-e29b-41d4-a716-446655440000
Responses
200

Success response

application/json
uuidstringOptional

Pass this as the template_uuid of a campaign.

Example: 550e8400-e29b-41d4-a716-446655440000
titlestring · nullableOptional

Null for templates that were never named.

Example: Newsletter Template
template_contentstring · nullableOptional

Full HTML of the template, with personalization tags such as {{name}} unrendered. Null when the stored HTML cannot be read.

Example: <html><body><h1>Hello {{name}}</h1></body></html>
created_atstring · date-time · nullableOptionalExample: 2025-02-27T11:54:22Z
updated_atstring · date-time · nullableOptionalExample: 2025-03-04T09:12:07Z
get/api/reach/v1/profiles/{profileUuid}/templates/{templateUuid}
GET /api/reach/v1/profiles/{profileUuid}/templates/{templateUuid} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "uuid": "550e8400-e29b-41d4-a716-446655440000",
  "title": "Newsletter Template",
  "template_content": "<html><body><h1>Hello {{name}}</h1></body></html>",
  "created_at": "2025-02-27T11:54:22Z",
  "updated_at": "2025-03-04T09:12:07Z"
}

Last updated

Was this helpful?