Skip to main content
POST
Create an email template group

Authorizations

X-API-KEY
string
header
required

API key for authentication. Pass your key in the X-API-KEY header.

Headers

X-API-KEY
string | null
Authorization
string | null
X-Workspace-Id
string | null

Body

application/json

Request body for creating an email template group.

name
string
required

Human-readable group name.

Required string length: 1 - 200
Example:

"Acme Corp emails"

template_mappings
Template Mappings · object
required

Which template to send for each email type, as {template_key: template_id}. Each template must belong to this workspace and have the same template_key it is mapped under.

Example:
sender_email_id
string | null

Sender address for this group's emails. Must be one of the workspace's sender emails (listSenderEmails).

Example:

"1BF9F7881AC8"

fallback_to_system_defaults
boolean
default:true

For email types with no template in this group: true sends HeyMilo's default email, false sends nothing.

Example:

true

Response

Successful Response

data
EmailTemplateGroupResponse · object
required

A group of email templates assigned to a posting.

Template groups map template keys (e.g. 'WEB_INTERVIEW_INVITATION') to specific template IDs, allowing different postings to use different email styles.

meta
Meta · object | null

Optional metadata. Shape varies by endpoint.