Email Templates

Get an email template

Returns a single email template by ID.

get/api/v2/email-templates/{template_id}

Request

  • Base URL
    https://api.heymilo.ai
  • URL
    https://api.heymilo.ai/api/v2/email-templates/{template_id}
  • Auth
    API key in header X-API-KEY

Path parameters

template_idstring required

Headers

X-API-KEYstring nullable
Authorizationstring nullable
X-Workspace-Idstring nullable

Response

Successful Response

metaobject nullable

Optional metadata. Shape varies by endpoint.

Example response

{
  "data": {
    "id": "B31EB9E73BEE",
    "template_key": "WEB_INTERVIEW_INVITATION",
    "name": "Custom Interview Invitation",
    "subject": "Interview Confirmation for {{job_title}} at {{company_name}}",
    "content": "<p>Hello {{candidate_name}}, ...</p>",
    "blackout_period": {
      "enabled": true,
      "timezone": "America/New_York",
      "start_hour": 22,
      "end_hour": 7
    },
    "created_at": 1739612400,
    "updated_at": 1739617200
  }
}

Changes

No recorded changes to this operation across all 6 revisions of this API.