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

List email templates

Get a list of the email templates in a profile, most recently updated first.

List email templates

get

Get a list of the email templates in a profile, most recently updated first.

Templates are the reusable email bodies a campaign is built from. The list is not paginated and only the metadata is returned - the template content itself is not exposed. Use the uuid of a template as the template_uuid when creating a campaign.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
profileUuidstringRequired

Profile uuid parameter

Example: 550e8400-e09b-41d4-a716-400055000000
Responses
200

Success response

application/json
uuidstring · nullableOptional

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
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
GET /api/reach/v1/profiles/{profileUuid}/templates HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "uuid": "550e8400-e29b-41d4-a716-446655440000",
    "title": "Newsletter Template",
    "created_at": "2025-02-27T11:54:22Z",
    "updated_at": "2025-03-04T09:12:07Z"
  }
]

Last updated

Was this helpful?