Skip to content

Get a starter template

GET
/templates/starters/{slug}
curl --request GET \
--url https://mail.teamander.com/v1/templates/starters/welcome \
--header 'Authorization: Bearer <token>'

Returns MJML with your brand settings already substituted, ready to save as a new template. Brand tokens are resolved here, so only genuine send-time merge tags remain.

slug
required

Starter slug

string
Example
welcome

Starter detail

Media typeapplication/json
object
slug
required
string
name
required
string
category
required
string
description
required
string
subject_template
required
string
mjml_source
required
string
variables
required
object
key
additional properties
string
Examplegenerated
{
"slug": "example",
"name": "example",
"category": "example",
"description": "example",
"subject_template": "example",
"mjml_source": "example",
"variables": {
"additionalProperty": "example"
}
}

Missing or invalid API key

Media typeapplication/json
object
error
required
string
message
string
Example
{
"error": "Invalid API key"
}

Not found

Media typeapplication/json
object
error
required
string
message
string
Example
{
"error": "not_found"
}