Skip to content

List templates

GET
/v1/templates
curl --request GET \
--url https://api.velumrelay.email/v1/templates \
--header 'Authorization: Bearer <token>'

Your account’s templates, by ID.

Media typeapplication/json
object
templates
Array<object>
object
id
required

Use a lowercase letter first, then a-z, 0-9 and _ (up to 48 characters)

string
name
required

Display name.

string
layout

Templates only: the assigned layout’s ID, if any.

string
version
required

Increases by one on every change.

integer
updated_at
required
string format: date-time
updated_by
required

Which management key (key:<name>) or dashboard made the change.

string

Example generated

{
"templates": [
{
"id": "example",
"name": "example",
"layout": "example",
"version": 1,
"updated_at": "2026-04-15T12:00:00Z",
"updated_by": "example"
}
]
}
X-Request-Id
string
Example
req_3kTMd9vXq2LwB8nYpR4sZa

Unique ID of this request (req_ + 22 characters). Include it when you contact support.

Missing or invalid management key.

Media typeapplication/json
object
error
required

What went wrong, in plain words.

string

Example

{
"error": "invalid or missing management key"
}

Rate limit exceeded (20 requests per second, bursts up to 40, per key). Wait for Retry-After seconds, then retry.

Media typeapplication/json
object
error
required

What went wrong, in plain words.

string

Example

{
"error": "rate limit exceeded"
}
Retry-After
integer
Example
1
X-Request-Id
string
Example
req_3kTMd9vXq2LwB8nYpR4sZa

Unique ID of this request (req_ + 22 characters). Include it when you contact support.