List layouts
GET
/v1/layouts
const url = 'https://api.velumrelay.email/v1/layouts';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.velumrelay.email/v1/layouts \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Your account’s layouts, by ID.
Media typeapplication/json
object
layouts
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
{ "layouts": [ { "id": "example", "name": "example", "layout": "example", "version": 1, "updated_at": "2026-04-15T12:00:00Z", "updated_by": "example" } ]}Headers
Section titled “Headers”X-Request-Id
string
Example
req_3kTMd9vXq2LwB8nYpR4sZaUnique 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"}Headers
Section titled “Headers”Retry-After
integer
Example
1X-Request-Id
string
Example
req_3kTMd9vXq2LwB8nYpR4sZaUnique ID of this request (req_ + 22 characters). Include it when you contact support.