Skip to content
Notice This app is in Beta Testing We are still testing Record Sender, so features may change.
Sign in

SenderStudio — API reference

Record Sender's own design studio for email templates, signatures and email graphics: designs made of blocks (`doc`), the email-client-safe HTML (tables and inline styles, sanitised) and plain text made from them, versions, export, sharing and locking in a business, **use as template** (a Compose template) and **use as signature** (an Email Settings signature), the starters, the brand kit and the paid AI. Everything is the person's, in this account only (personal and business never cross); a key that acts for no person is refused (403 `no_person`).

← All groups
POST /api/v1/studio/ai/design

Design for me (AI, paid)

Blocks from a description, in the brand's colours. Uses the account's AI credits (402 `insufficient_credits`; 503 `ai_unavailable` when no AI provider is configured). Nothing is saved or sent: create or update a design with the answer.

Scope: studio:write · Idempotency-Key · mail.ai_design

Request body application/json
kind "template" | "signature" | "graphic"
prompt * string
Responses 200 · 401 · 402 · 403 · 409 · 422 · 429 · 503

200 Success

credits number
doc * StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
name string | null
note string
subject string | null

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

503 ai_unavailable — no AI provider is configured

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)
POST /api/v1/studio/ai/rewrite

Rewrite text (AI, paid)

A block's words rewritten by `instruction` (shorter, friendlier, fix grammar, or free words). Uses AI credits.

Scope: studio:write · Idempotency-Key · mail.ai_rewrite

Request body application/json
instruction string
text * string Plain text or simple HTML
Responses 200 · 401 · 402 · 403 · 409 · 422 · 429 · 503

200 Success

credits number
text * string

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

503 ai_unavailable — no AI provider is configured

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)
GET /api/v1/studio/brand-kit

The brand kit

The account's kit, a workspace's own (`workspace_id`), or — without either saved — the kit new designs use (Record Sender's defaults until one is saved). `can_edit`: whether the person may change it.

Scope: studio:read · mail.brand_kit

ParameterInTypeDescription
workspace_idquerystring (uuid)A workspace's own kit (business); the account's kit without it
Responses 200 · 401 · 403 · 429

200 Success

brand_kit * StudioBrandKit
fields

StudioBrandKit

colors object
fonts object
fields
body string
heading string
footer string
id string | null
locked boolean
logos [object]
fields
name string
url string
name string | null
socials [object]
fields
network string
url string
updated_at string | null
workspace_id string | null
can_edit * boolean

401 Problem details (401)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

PUT /api/v1/studio/brand-kit

Change the brand kit

Personal: the person. Business: owners and admins (the account's kit and every workspace's), and a workspace's own owners and admins for its kit unless locked. Unknown or invalid values are dropped.

Scope: studio:write · mail.put_brand_kit

Request body application/json
colors object primary, secondary, accent, text, muted, background, surface: #rrggbb
fonts object
fields
body string
heading string
footer string Rich text
logos [object]
fields
name string
url string /rich/img/<token>
name string
socials [object]
fields
network string
url string (uri)
workspace_id string | null
Responses 200 · 401 · 402 · 403 · 422 · 429

200 Success

brand_kit * StudioBrandKit
fields

StudioBrandKit

colors object
fonts object
fields
body string
heading string
footer string
id string | null
locked boolean
logos [object]
fields
name string
url string
name string | null
socials [object]
fields
network string
url string
updated_at string | null
workspace_id string | null
can_edit * boolean

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/studio/designs

SenderStudio designs

The designs the person can see, newest first: their own and (business) those shared with the business or a workspace they can open. `available` is true while SenderStudio is on.

Scope: studio:read · mail.index

ParameterInTypeDescription
kindquery"template" | "signature" | "graphic"
filterquery"mine" | "shared"
qquerystringWords in the name
limitqueryintegerAt most 500 (default 200)
Responses 200 · 401 · 403 · 429

200 Success

available * boolean
designs * [StudioDesign]
fields

StudioDesign

can_edit boolean
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
html string Email-client-safe HTML (sanitised)
id * string
image_url string | null A graphic's PNG in the account's storage
inserted_at string (date-time)
kind "template" | "signature" | "graphic"
locked boolean
mine boolean
name string
share_right "view" | "edit"
share_workspace_id string | null
sharing "private" | "workspace" | "business"
starter string | null
subject string | null
template_id string | null The Compose template use-as-template made
text string The plain-text version
updated_at string (date-time)
version integer
message string | null

401 Problem details (401)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/studio/designs

Create a design

From a `starter` (see `GET /studio/starters`; its kind wins), from blocks (`doc`), or blank. New blocks take the brand kit's colours, fonts, logo, footer and links.

Scope: studio:write · Idempotency-Key · mail.create

Request body application/json
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
kind "template" | "signature" | "graphic"
name string
starter string
subject string Templates: the email subject
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429

201 Success

design * StudioDesign
fields

StudioDesign

can_edit boolean
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
html string Email-client-safe HTML (sanitised)
id * string
image_url string | null A graphic's PNG in the account's storage
inserted_at string (date-time)
kind "template" | "signature" | "graphic"
locked boolean
mine boolean
name string
share_right "view" | "edit"
share_workspace_id string | null
sharing "private" | "workspace" | "business"
starter string | null
subject string | null
template_id string | null The Compose template use-as-template made
text string The plain-text version
updated_at string (date-time)
version integer

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

DELETE /api/v1/studio/designs/{id}

Delete a design

The maker (unless locked), or an owner or admin for a shared design.

Scope: studio:write · mail.delete

ParameterInTypeDescription
id *pathstring (uuid)
Responses 204 · 401 · 402 · 403 · 404 · 422 · 429

204 Done (no content)

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/studio/designs/{id}

A design with its blocks

Scope: studio:read · mail.show

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

design * StudioDesign
fields

StudioDesign

can_edit boolean
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
html string Email-client-safe HTML (sanitised)
id * string
image_url string | null A graphic's PNG in the account's storage
inserted_at string (date-time)
kind "template" | "signature" | "graphic"
locked boolean
mine boolean
name string
share_right "view" | "edit"
share_workspace_id string | null
sharing "private" | "workspace" | "business"
starter string | null
subject string | null
template_id string | null The Compose template use-as-template made
text string The plain-text version
updated_at string (date-time)
version integer

401 Problem details (401)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

429 Problem details (429)

PATCH /api/v1/studio/designs/{id}

Change a design

Every change makes the HTML and text again. A version is kept when the last is older than two minutes, or always with `version: true`. A template made with use-as-template follows the change. 403 when the design is shared with the person to view only, or locked.

Scope: studio:write · mail.update

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
name string
note string The version's note
subject string
version boolean Keep a version now
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

design * StudioDesign
fields

StudioDesign

can_edit boolean
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
html string Email-client-safe HTML (sanitised)
id * string
image_url string | null A graphic's PNG in the account's storage
inserted_at string (date-time)
kind "template" | "signature" | "graphic"
locked boolean
mine boolean
name string
share_right "view" | "edit"
share_workspace_id string | null
sharing "private" | "workspace" | "business"
starter string | null
subject string | null
template_id string | null The Compose template use-as-template made
text string The plain-text version
updated_at string (date-time)
version integer

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/studio/designs/{id}/duplicate

Duplicate a design

A private copy for the person — locked designs too.

Scope: studio:write · Idempotency-Key · mail.duplicate

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
name string
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429

201 Success

design * StudioDesign
fields

StudioDesign

can_edit boolean
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
html string Email-client-safe HTML (sanitised)
id * string
image_url string | null A graphic's PNG in the account's storage
inserted_at string (date-time)
kind "template" | "signature" | "graphic"
locked boolean
mine boolean
name string
share_right "view" | "edit"
share_workspace_id string | null
sharing "private" | "workspace" | "business"
starter string | null
subject string | null
template_id string | null The Compose template use-as-template made
text string The plain-text version
updated_at string (date-time)
version integer

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/studio/designs/{id}/export

Export a design

`format=html` (default): a complete HTML document ready for any email tool; `format=text`: the plain-text version. PNG is made in the browser (the web app's Download → PNG).

Scope: studio:read · mail.export

ParameterInTypeDescription
id *pathstring (uuid)
formatquery"html" | "text"
Responses 200 · 401 · 403 · 404 · 429

200 Success

string

401 Problem details (401)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

429 Problem details (429)

PUT /api/v1/studio/designs/{id}/lock

Lock or unlock a design (owners and admins)

A locked design is changed only by owners and admins; everyone it is shared with can still use and duplicate it.

Scope: studio:write · mail.lock

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
locked * boolean
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

design * StudioDesign
fields

StudioDesign

can_edit boolean
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
html string Email-client-safe HTML (sanitised)
id * string
image_url string | null A graphic's PNG in the account's storage
inserted_at string (date-time)
kind "template" | "signature" | "graphic"
locked boolean
mine boolean
name string
share_right "view" | "edit"
share_workspace_id string | null
sharing "private" | "workspace" | "business"
starter string | null
subject string | null
template_id string | null The Compose template use-as-template made
text string The plain-text version
updated_at string (date-time)
version integer

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

PUT /api/v1/studio/designs/{id}/sharing

Share a design (business)

`sharing`: private, workspace (with `share_workspace_id`, one the person can open) or business; `share_right`: view or edit. 422 `personal` in a personal account (its designs stay private).

Scope: studio:write · mail.share

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
share_right "view" | "edit"
share_workspace_id string | null
sharing * "private" | "workspace" | "business"
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

design * StudioDesign
fields

StudioDesign

can_edit boolean
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
html string Email-client-safe HTML (sanitised)
id * string
image_url string | null A graphic's PNG in the account's storage
inserted_at string (date-time)
kind "template" | "signature" | "graphic"
locked boolean
mine boolean
name string
share_right "view" | "edit"
share_workspace_id string | null
sharing "private" | "workspace" | "business"
starter string | null
subject string | null
template_id string | null The Compose template use-as-template made
text string The plain-text version
updated_at string (date-time)
version integer

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/studio/designs/{id}/use-as-signature

Use as signature

The signature design becomes one of the person's signatures in a mailbox (default: their own; a shared or delegated mailbox where they may send). 422 `wrong_kind` for a template.

Scope: studio:write · Idempotency-Key · mail.use_as_signature

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
mailbox_id string (uuid)
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429

201 Success

signature * MailSignature
fields

MailSignature

default_new boolean
default_reply boolean
html_body string | null
id * string (uuid)
name string
text_body string | null

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/studio/designs/{id}/use-as-template

Use in template

Creates (or updates, the second time) the person's Compose template from the design: its name, subject and HTML. It shows in Compose › Templates and `GET /api/v1/templates`; a design shared with the business makes a template shared with the account.

Scope: studio:write · Idempotency-Key · mail.use_as_template

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

template * object The template (as GET /api/v1/templates answers it)

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/studio/designs/{id}/versions

A design's versions

Newest first; the newest 30 are kept.

Scope: studio:read · mail.versions

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

versions * [StudioVersion]
fields

StudioVersion

id * string (uuid)
inserted_at string (date-time)
name string
note string | null
version * integer

401 Problem details (401)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

429 Problem details (429)

POST /api/v1/studio/designs/{id}/versions

Keep a version now

Scope: studio:write · Idempotency-Key · mail.save_version

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
note string
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429

201 Success

design * StudioDesign
fields

StudioDesign

can_edit boolean
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
html string Email-client-safe HTML (sanitised)
id * string
image_url string | null A graphic's PNG in the account's storage
inserted_at string (date-time)
kind "template" | "signature" | "graphic"
locked boolean
mine boolean
name string
share_right "view" | "edit"
share_workspace_id string | null
sharing "private" | "workspace" | "business"
starter string | null
subject string | null
template_id string | null The Compose template use-as-template made
text string The plain-text version
updated_at string (date-time)
version integer

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/studio/designs/{id}/versions/{version_id}/restore

Restore a version

The current state is kept as a version first.

Scope: studio:write · Idempotency-Key · mail.restore

ParameterInTypeDescription
id *pathstring (uuid)
version_id *pathstring (uuid)The version
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

design * StudioDesign
fields

StudioDesign

can_edit boolean
doc StudioDoc
fields

StudioDoc

blocks [object]
fields
data object The type's content (text, html, src, href, cols, links, name, role …)
id string
style object Colours (#rrggbb), align, padding_y, padding_x, font, size …
type * "heading" | "text" | "image" | "button" | "divider" | "spacer" | "columns2" | "columns3" | "social" | "signature" | "banner" | "footer"
settings object width (240–800), page_bg, content_bg, font, text_color, link_color, radius, link
html string Email-client-safe HTML (sanitised)
id * string
image_url string | null A graphic's PNG in the account's storage
inserted_at string (date-time)
kind "template" | "signature" | "graphic"
locked boolean
mine boolean
name string
share_right "view" | "edit"
share_workspace_id string | null
sharing "private" | "workspace" | "business"
starter string | null
subject string | null
template_id string | null The Compose template use-as-template made
text string The plain-text version
updated_at string (date-time)
version integer

401 Problem details (401)

402 Problem details (402)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/studio/starters

SenderStudio's starting points

Templates (newsletter, announcement, invitation, receipt, follow-up), seven signature styles and email graphics. Original layouts built from the brand kit.

Scope: studio:read · mail.starters

ParameterInTypeDescription
kindquery"template" | "signature" | "graphic"
Responses 200 · 401 · 403 · 429

200 Success

starters * [StudioStarter]
fields

StudioStarter

description string
key * string
kind "template" | "signature" | "graphic"
name string

401 Problem details (401)

403 no_person — the key acts for no person; forbidden — not allowed to change it

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)