Get email template
Get one email template of the profile with its full HTML in templatecontent.
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.
API Token authentication
Profile uuid parameter
550e8400-e09b-41d4-a716-400055000000Template uuid parameter
550e8400-e29b-41d4-a716-446655440000Success response
Pass this as the template_uuid of a campaign.
550e8400-e29b-41d4-a716-446655440000Null for templates that were never named.
Newsletter TemplateFull HTML of the template, with personalization tags such as {{name}} unrendered. Null when the stored HTML cannot be read.
<html><body><h1>Hello {{name}}</h1></body></html>2025-02-27T11:54:22Z2025-03-04T09:12:07ZUnauthenticated response
Error response
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?