Temply

Documentation

Email template API documentation

What the editor gives you, how a template goes from empty to sent, what a brand carries, who on your team can do what, and how your app asks for the finished email.

Introduction

Temply helps you build transactional emails with blocks for text, images, headings, and buttons. It generates HTML using tables and inline styles for compatibility with Outlook and other email clients.

Developers can connect templates to their app, while designers and marketers edit the content visually. Temply generates the email; your app sends it through your email provider.

  1. 1

    Components: the blocks you add, in groups

  2. 2

    Your email: the email itself, block by block

  3. 3

    Edit / Preview / HTML / Text: the same email, four ways

  4. 4

    Email details: subject, sender, preview text

  5. 5

    Brand: the look this template uses

There are three things you work with.

Templates are the emails you build. Each template has content, a subject line, and its own appearance settings. You can edit and save it from your dashboard.

Brands are saved looks: page and card colours, button and link colours, corner radius and spacing. Applying a brand copies those settings onto the template, so several templates can share one visual identity without you setting the colours again each time.

The API is how the finished email reaches your app. You request a template by id with an API key, send the data you want dropped into it, and get back rendered HTML ready to hand to your mail provider. The API serves what you last published. Edits stay in your draft until you press Publish.

Creating a template

Open Templates in the dashboard and press New template. The editor opens with a starter called Untitled Template, containing a logo, heading, paragraphs, and a button. Edit these blocks or delete any you do not need.

  1. 1

    New template

    Templates → New template. A starter template opens in the editor.

  2. 2

    Name and brand

    The Subject field names it. The Brand panel sets the look.

  3. 3

    Compose

    Type, press / for a block, drag blocks into order.

  4. 4

    Preview and publish

    Check it in Preview, then publish. Every publish keeps a version.

From there: copy the HTML, or have your app fetch the rendered email from the API.

Name it in the Email details section. The Subject field is both the subject line the recipient reads and the name the template goes by in your dashboard, so give it something you will recognise in a list. Use From name, To, Reply To, and Preview Text to set the other email details.

Pick a look in the Brand section above the content. A new template starts on whichever brand you set as your default; change it here, or adjust the knobs to take the template its own way.

Compose the email in Content. Type into the canvas, press / for a block, drag blocks by the handle in the gutter until the order is right.

The three buttons at the top of the Content section switch what that pane shows: Edit, Preview, and HTML. Preview renders the email exactly as it will be sent, under a mock inbox row so you can see the subject and preview text as they appear in an inbox. Use the Preview data panel, which fills your variables and lets you switch conditions on and off, and Forced dark, which redraws the preview the way a client that inverts every email would show it. These preview settings are not saved with the template.

Edits save as you go, into a draft. Press Publish when it looks right. Every publish saves a version. You can restore previous versions from History. Temply keeps the last 10 versions, or 50 with a template pack (100 on Enterprise). An older version that an app pins through the API is kept while it is in use.

From there the email leaves Temply one of two ways. The HTML view shows the finished source with a Copy HTML button and a Download button. Use the HTML with your email provider and fill the {{placeholders}} yourself. The Text view saves the plain-text alternative the same way.

Need a second pair of eyes first? Share makes a link anyone can open without signing in. It shows the draft as it stands, and you can turn it off whenever you like.

Or let your app fetch it. Every template has an id shown at the top of the editor, in the form tpl_XXXXXXXX. Create a key under Settings → API keys, then post to the render endpoint with the data for this particular send. You get the published version: keep editing and nothing changes for your app until you publish again.

curl -X POST \
  -H "Authorization: Bearer tply_live_..." \
  -H "Content-Type: application/json" \
  -d '{"data":{"firstName":"Ada","isMember":true}}' \
  https://temply.tacklabs.co.uk/api/public/v1/templates/tpl_XXXXXXXX/render

The response carries the rendered html, with your data already in it, ready to hand to your mail provider. Omit the data object and you get the same email with its placeholders intact.

Keys come in two kinds. A live key (tply_live_…) renders what you published and counts toward your plan. Live keys work on every plan, the free trial included. When a trial or plan ends unpaid the workspace turns read-only, and its live keys answer 402 until someone subscribes. A test key (tply_test_…) renders your current draft, whether or not it has been published. Use it to test your latest edits in staging. Test keys are free on every plan, keep working when a workspace is read-only, and stop at 1,000 calls a month.

Every call counts, repeats included, so render once and reuse the result where the email is the same. Caching shows how.

Using brands

A brand is a saved look. It holds the page background behind the email, the card background the content sits on, the padding around both, the corner radius, the button background and label colour, and the link colour. Email content is stored in the template.

One email with three presets: Classic, Warm, and Slate. The content never changes; the page and card colours, the button and link colour, the corner radius and the padding do. Applying a brand copies those settings onto the template, so the email keeps the look it was last given.

Temply ships five presets: Classic, Minimal, Corporate, Warm, and Slate. They are fixed, so you cannot edit or delete one, and they do not count against the brand limit on your plan. Your own brands live beside them on the Brands page. You make one by starting from a preset, changing what you want, and giving it a name.

One brand can be marked as your default, with Set as default. You can choose a preset or one of your own brands. A new template starts from it: as long as you have not touched the look yet, opening the editor applies your default brand. Delete the brand that is currently the default and it moves to another of your brands, or back to Classic if you have none left.

Applying a brand copies its settings onto the template. There is no live link afterwards. Change a brand later and the templates already using it keep the look they were saved with; you re-apply the brand to pull the change through.

That copy is also what Custom means. The brand selector shows the preset or brand whose settings the template exactly matches. Change any colour, corner, or spacing and it no longer matches a saved brand, so the selector shows Custom. This label appears automatically. Save the settings as a brand to reuse them on other templates.

Three knobs cover most of the work. Brand color sets the button and link colour together, and picks black or white for the button label depending on which is more readable on it. Corner sets the card and button corners to Sharp, Soft, or Round. Density sets Compact or Comfortable padding inside the card and around the email.

Advanced opens the fields underneath, grouped as Page, Card, and Buttons & links. Here you can set each colour, padding, and radius separately, including different backgrounds for the page and card or different corners for the card and buttons. Temply flags colour combinations that may be hard to read, including in forced dark mode.

Dark mode

An email has no dark mode of its own. It has the colours you gave it, and a dark inbox is the reader’s setting, not the template’s. A template built on a dark background is a dark theme: still one set of colours, and a client that recolours email will recolour it too, just with a different result. The two are worth keeping apart, because a dark theme is no protection from dark mode.

Temply declares every email as designed for light, color-scheme: light in the document’s head. What that does depends on which of three kinds of client opens it.

The clientIn dark modeFor example
Reads the declarationShows the email exactly as designed, in light or dark mode alike. Without a declaration it would decide for itself, and often invert a text-heavy email.Apple Mail on iPhone, iPad and Mac
Ignores it and recoloursApplies its own dark treatment whatever the email says: some invert everything, some only lighten dark text and darken light backgrounds.The Gmail app, Outlook on Windows and on phones
Leaves email aloneDarkens its own chrome and shows the email as designed.Gmail in a browser, most webmail
Two of three show what you designed. The third is the inversion the Forced dark preview draws, with the logo kept the right way round.

Clients that respect the declaration show the colours you chose in the editor. Without it, they may adjust colours based on the email’s content. Other clients apply their own dark mode treatment regardless of the declaration.

For the clients that recolour anyway, Temply helps you see it coming. Forced dark in the Preview view redraws the email the way a client that inverts everything would, with images kept the right way round. The Brand panel warns when a colour pair would lose its contrast under that inversion, using the same maths the preview draws with, and the Checks list carries the same findings so they are on the page while you write. One honest limit: the preview shows the full inversion, the harshest case. A client that only lightens dark text and darkens light backgrounds lands somewhere in between, and a template that reads well under the full inversion reads well there too.

Temply uses one set of colours, declared light. It does not generate separate dark mode styles with prefers-color-scheme. The table above describes how clients treat those colours. Two things help in every case: a logo saved as a transparent PNG with a little padding, so it survives a dark background, and colours a comfortable distance from pure black and pure white, which inversion sends to their extremes.

Your team

Everything in Temply belongs to a workspace: the templates, the brands, the image library, the API keys and the plan. Name your workspace when you sign up, then invite your team when you are ready.

Invite people from Settings → Team: an email address each, and they get a link that puts them in the workspace. Anyone you invite can build, edit and publish emails, save brands, upload images, share review links, and send test emails. Account management requires an admin role.

A member makes the emails; an admin manages the account. There are no other roles.

An admin manages the plan, billing, API keys, and team membership. The person who created the workspace is its admin; an admin can make others admins from the Team page. A member makes the emails; an admin manages the account. There are no other roles.

If you join another workspace, you can switch between them from the top of the sidebar. Each workspace has its own templates, keys and plan; nothing crosses over.

The API

Two endpoints, both under https://temply.tacklabs.co.uk/api/public/v1. One tells you about a template; the other turns it into the email you send. Your app requests the rendered email with data for the recipient, then sends the result through your email provider.

Keys

Every request carries a key as a bearer token: Authorization: Bearer tply_live_…. Create keys under Settings → API keys. A live key renders what you last published and counts toward your plan; live keys work on every plan, the free trial included. A test key (tply_test_…) renders your current draft, published or not, so staging always shows what you are working on; it is free on every plan and stops at 1,000 calls a month. Revoking a key takes effect on the next request.

Keep editing and a live key sees nothing new until you publish again; a test key always sees the latest.

List templates

GET /templates returns the templates this key can access, sorted by most recently changed. A live key lists published templates; a test key also lists drafts.

curl -H "Authorization: Bearer tply_live_…" \
  https://temply.tacklabs.co.uk/api/public/v1/templates
templates
One entry per template: id, shortCode, title, previewText, publishedAt, version, updatedAt. These match the fields returned for a single template.
mode
"live" for published templates or "test" for drafts.

Get a template

GET /templates/:id returns template metadata. Use the tpl_… ID shown at the top of the editor. Check the timestamp to decide whether to render again.

curl -H "Authorization: Bearer tply_live_…" \
  https://temply.tacklabs.co.uk/api/public/v1/templates/tpl_AbCd1234
id
The internal id. Use shortCode for requests.
shortCode
The tpl_… id this template answers to.
title
The template’s name, which is also its subject line.
previewText
The line inboxes show under the subject.
publishedAt
When it was last published; null if never.
version
The number the live copy went live as, the one to pin. null when this key serves the draft.
updatedAt
When the copy this key serves last changed. Cache on this.
mode
"live" for the published version or "test" for the draft.

Render a template

POST /templates/:id/render with a JSON body carrying the data for this send. You get back the email as HTML and as plain text, with your data already in it. It renders the live copy; add a version to render an earlier one (Pin a version).

curl -X POST https://temply.tacklabs.co.uk/api/public/v1/templates/tpl_AbCd1234/render \
  -H "Authorization: Bearer tply_live_…" \
  -H "Content-Type: application/json" \
  -d '{"data":{"firstName":"Ada","isMember":true}}'
html
The full email document, ready to hand to your provider.
text
The same email with the markup stripped, for the multipart alternative.
shortCode
Echoed back.
version
The version rendered: the one you pinned, or the live one. null for a test key that did not pin, which renders the draft.
updatedAt
When the rendered copy last changed, as returned by GET. For a pinned version, when it went live.
mode
"live" or "test".

The data object

Each key in data matches a variable in the template: {{firstName}} reads data.firstName. Every required variable needs a value. A missing value returns 422 with a list of missing keys. Placeholders set in the editor are for previews only. A pill marked optional renders as nothing when its value is missing. Booleans drive “Show if”: a block gated on isMember is dropped when data.isMember is false and kept when it is true or absent. Omit data entirely and you get the email with placeholders intact and all conditional blocks showing, as in the editor.

Three kinds of key, one object: text for a pill, a boolean for a Show if, a list for a Repeat.
{
  "data": {
    "firstName": "Ada",
    "isMember": true
  }
}

A Repeat block reads a list. Its “Repeat over” key names an array in data, and the blocks inside come out once per item: a variable inside the block reads the current item first ({{name}} is items[0].name, then items[1].name…), and falls back to the top level of data when the item has no such field. An empty list, or no key at all, renders the block zero times. A value that is not a list is a 422 naming the key.

{
  "data": {
    "firstName": "Ada",
    "items": [
      {
        "name": "Notebook",
        "price": "£12"
      },
      {
        "name": "Pen",
        "price": "£3"
      }
    ]
  }
}

Pin a version

A render serves the live copy, so whatever you publish reaches every app on its next call. To move on your own schedule, send the number of the version you built against as version. It comes back as it was when it went live, filled with the data you send. The number is version on the metadata call and on every render.

{
  "data": {
    "firstName": "Ada"
  },
  "version": 2
}

Say a shared template gains a required variable in version 3. Apps pinned to version 2 keep rendering with the data they send today. Each app adds the new value to its data, checks it against version 3 (a test key can pin too), then pins 3 or drops the pin to follow the live copy.

Temply keeps the latest 10 versions of a template (50 with a template pack) and removes older ones as you publish. An older version an app pins stays while it is in use: each pinned call refreshes it, and it can be removed 30 days after the last one. The first pinned call starts that, so pin before the version drops out of the latest 10. A removed version answers 410, and a number that was never made answers 404. A pinned call counts toward your calls like any other.

Send it

Temply stops at the finished email; your provider delivers it. The subject is the template’s title, from the metadata call, and the render’s html and text are the two parts of one multipart message. Send both to support inboxes that prefer plain text. Resend is shown because it is what Temply itself sends through; any provider takes the same three things.

# 1. The subject line
curl -H "Authorization: Bearer tply_live_…" https://temply.tacklabs.co.uk/api/public/v1/templates/tpl_AbCd1234
# → { "title": "Welcome email", ... }

# 2. The email for this recipient
curl -X POST https://temply.tacklabs.co.uk/api/public/v1/templates/tpl_AbCd1234/render \
  -H "Authorization: Bearer tply_live_…" \
  -H "Content-Type: application/json" \
  -d '{"data":{"firstName":"Ada","isMember":true}}'
# → { "html": "<!doctype html>...", "text": "Welcome, Ada...", ... }

# 3. Hand both parts to your provider (Resend shown)
curl -X POST https://api.resend.com/emails \
  -H "Authorization: Bearer re_..." \
  -H "Content-Type: application/json" \
  -d '{"from":"you@example.com","to":"ada@example.com","subject":"Welcome email","html":"...","text":"..."}'

Every call counts, so render once per email, not once per recipient, and cache on updatedAt rather than fetching metadata before every send. The timestamp changes on publish for live keys and on save for test keys. Caching shows the pattern.

Caching

List, metadata, and render requests all count toward your monthly usage, including repeated requests. Cache results to reduce calls when an email has not changed.

Render a broadcast once. When many people get the same email, render it once and hand the same html and text to every send: one call, not one per recipient. Render per recipient only where the content differs per recipient.

Cache on updatedAt. Keep each render under the template, the data you sent and the updatedAt that came back with it. updatedAt changes on publish for live keys and on save for test keys. You can reuse the cached render while it stays the same. Check timestamps with a list call on a schedule or when you deploy.

# 1. On a schedule, or when you deploy: one call dates every template
curl -H "Authorization: Bearer tply_live_…" \
  https://temply.tacklabs.co.uk/api/public/v1/templates
# → { "templates": [{ "shortCode": "tpl_AbCd1234", "updatedAt": "2026-09-01T09:30:00.000Z", … }] }

# 2. Only where updatedAt moved since you cached it: render once
curl -X POST \
  -H "Authorization: Bearer tply_live_…" \
  -H "Content-Type: application/json" \
  -d '{"data":{"campaign":"autumn"}}' \
  https://temply.tacklabs.co.uk/api/public/v1/templates/tpl_AbCd1234/render
# → keep { html, text } with that updatedAt, and send the same html to everyone

Never render on a page view, or on any request a visitor can repeat: a reload or a crawler then spends your calls. Render when you send, from your own server, and reuse what you rendered.

Errors and limits

Every error is JSON with a status, a message you can show, and an errors list. The codes:

401
No key, an unknown key, or a revoked one.
404
The template does not exist in this account, it has not been published and you are using a live key, or the version you pinned was never made.
410
The version you pinned was removed to make room for newer ones. Pin a newer version, or leave version out for the live copy.
422
A required variable is missing from data, or a Repeat value is not a list. Missing variables are listed under missing in the response.
402
The workspace’s trial or plan has ended, so its live keys are paused. Nothing is deleted, and the key works again once someone subscribes on the Plan page. Test keys are not affected.
429
The key exceeded its per-minute rate limit, or the trial workspace used its 10,000 monthly live calls. Rate-limit responses include Retry-After in seconds. Trial limits reset next month or when someone subscribes. The message identifies the limit.
500
The stored template could not be read. Open it in the editor and save.

Calls with a live key count toward a monthly total that resets on the first of each month, UK time. Lists, metadata, and renders all count, including repeated requests. Cache results where you can. Test keys have their own 1,000 a month on every plan. On top of the month, one key may make 120 calls a minute (30 for a test key); past that the call is refused without counting, and Retry-After says how long to wait.

Two answers deserve code of their own. A 422 lists the values to add under missing, so the fix is in your data, not a retry. A 429 with Retry-After is the burst: the refused call was not counted, so waiting that long and trying again costs nothing. A 429 without that header means the trial’s monthly allowance is used up. Stop automatic retries for this response or a 402 and ask a workspace admin to subscribe.

curl -i -X POST https://temply.tacklabs.co.uk/api/public/v1/templates/tpl_AbCd1234/render \
  -H "Authorization: Bearer tply_live_…" \
  -H "Content-Type: application/json" \
  -d '{"data":{}}'
# HTTP/2 422
# { "status": 422, "message": "Missing values for: firstName", "missing": ["firstName"] }

# HTTP/2 429
# Retry-After: 12
# { "status": 429, "message": "...", ... }

# HTTP/2 402
# { "status": 402, "message": "...", ... }
Free trial
14 days, no card. 10,000 live calls a month, then a 429 until the month turns or someone subscribes. 5 live keys.
Team
$5 per user a month. 10,000 live calls a month included, then $1 per 1,000 on the next invoice, with no monthly cap. 5 live keys.
Enterprise
Volume agreed with you. Unlimited live keys.
Read-only
A trial or plan that ended unpaid. Live keys answer 402; test keys keep their 1,000 calls a month.

Common questions

Do I need to know HTML to build an email in Temply?

No. You arrange blocks in the editor, and Temply generates the HTML and a plain-text copy. The HTML is built from tables and inline styles, so it holds up across email clients. A marketer can write and lay out the content without touching code.

Does Temply send the email?

No. Temply stops at the finished email; your own provider delivers it. The render call returns the HTML and plain text, ready to hand to a provider such as Resend, Postmark, or Amazon SES. Resend is what Temply itself sends through.

How does my app get the finished email?

Your app calls the render endpoint with a template's short code and a data object of the values to fill in. Temply returns the HTML and plain text with your data already in place. One call gives you both parts, ready to send.

Can I change a template without redeploying my app?

Yes. You edit and publish in the dashboard, and the API serves the copy you last published; your app keeps calling the same short code. Pin a version when you want a template to change only when you say so, not on the next publish.

Does Temply handle dark mode email?

Yes. A template renders for light and dark inboxes, and a brand can be set to auto dark or forced dark. The colours are checked to stay readable in forced dark mode, where some clients invert the email on their own.

What happens when I hit the rate limit?

The API answers 429 with a Retry-After header in seconds. A per-minute burst refusal is not counted, so waiting that long and trying again costs nothing. On the trial, a 429 can also mean the month's live calls are spent; that clears next month or when someone subscribes.

What does it cost to start?

The trial runs 14 days with no card, and includes 10,000 live API calls a month. After it a paid plan carries on, and calls past the included amount are $1 per 1,000. The full pricing is on the home page.

The editor

The canvas in the middle is the email at its real width, on the white background a mail client will paint. You type into it directly. Every paragraph, image, and button is a block, and each one has a drag handle in the gutter for moving it up or down the email.

Press / where the next block should go and the slash menu opens. It lists every block; keep typing to filter it, and press Enter to insert the one you want. Select a block and a bubble menu appears with its settings: alignment and colour for text, URL and label for a button, or source and width for an image.

The editing loop, on repeat: a line is typed on the canvas, / opens the slash menu, Button inserts a button block, and the bubble menu that appears with it changes the button's colour.

Text

  • Text

    A plain paragraph. Start typing to add a paragraph.

  • Heading 1

    The largest heading. Use it once, for the line that says what the email is about.

  • Heading 2

    A medium heading. Breaks a longer email into sections.

  • Heading 3

    A small heading. For a label or subheading above a short section.

  • Bullet List

    An unordered list. For features, links, or notes where order does not matter.

  • Numbered List

    An ordered list. For steps someone has to follow in sequence.

  • Blockquote

    Indented text with a rule down its left edge. To set a quote or a pulled-out remark apart from the body copy.

Media

  • Image

    A full-width image with its own alignment and link. For a hero image or a screenshot that should span the card.

  • Logo

    An image sized and aligned as a logo rather than as content. For your company logo at the top of the email.

  • Inline Image

    A small image that sits in the flow of a line of text. For an icon or a badge next to words, not on a line of its own.

  • Link Card

    A bordered card with a title, description, image, and link. To highlight an article, document, or release with a card.

Layout

  • Columns

    Splits the width into columns, each holding its own blocks. For side-by-side content. Many clients collapse them on narrow screens, so keep each column able to stand alone.

  • Section

    A container with its own background, padding, and border around the blocks inside it. To highlight a note or group content in a coloured panel.

  • Spacer

    Vertical empty space of a set height. To open up a gap where the default block spacing is too tight.

  • Divider

    A horizontal rule. To separate parts of the email, such as the body and footer.

Advanced

  • Button

    A call-to-action button built from a table cell, so it renders as a solid block rather than a styled link. For the one action you want the reader to take.

  • Repeat

    Loops the blocks inside it over an array from your data, once per item. For order lines, digest items, or anything whose length you do not know when you build the template.

  • Custom HTML

    Raw HTML dropped into the email as written. For content the other blocks cannot provide. Check that your HTML works in email clients.

Components

  • Headers

    Three header layouts: stacked logo and text, logo beside text, or logo above a cover image. Choose a layout, then replace the text and image.

  • Footers

    Three footer layouts: copyright, feedback, or company signature. For an address, unsubscribe link, or legal text. Choose a layout and edit it.

The slash menu also carries a Components group with pre-built headers and footers. Each one inserts a small arrangement of the blocks above, which you then edit like anything else.

Shortcuts

These shortcuts work while the cursor is in the canvas. You can also find them under the question mark beside the editor’s view switch.

Insert

/
Open the block menu; type to filter
@
Insert a variable, in text, a button label or a URL
---
Turn the line into a divider
⌘⌥C
Insert a Custom HTML block

Write

#
Heading 1 (## for Heading 2, ### for Heading 3)
-
Start a bullet list
1.
Start a numbered list
>
Start a blockquote
**text**
Bold; *text* for italic, `text` for code, ~~text~~ for strikethrough
⇧Enter
A new line inside the block, without a new block’s spacing

Blocks

⌘⇧↑
Move the block up
⌘⇧↓
Move the block down
⌘⇧D
Duplicate the block
⌘⇧Space
Select the whole block
⌘⇧F
Move to the menu for the block or the selection; Escape comes back
⌘⇧⌫
Delete the block

Text

⌘B
Bold
⌘I
Italic
⌘U
Underline
⌘Z
Undo (add Shift to redo)

Variables

Type @ where the text should change per recipient. A list of the variables already in the template appears; pick one, or type a new name to create it. The variable sits in the copy as a pill you can click, which is also where you set a Placeholder for previews, thumbnails, and test sends. API renders use the values supplied in your data. Button labels and link URLs can be variables too.

The pill is a name. It leaves the editor as a placeholder and becomes a value only when your data supplies one.

In the rendered HTML a variable is a {{name}} placeholder. When you send no data with your request they pass through exactly like that, so you can take the markup and fill it with your own templating instead of Temply's. Send data and each one is replaced by the matching key.

The Preview data panel in the Preview view is where you check the filled version. It lists every variable the template uses; type a value and the preview redraws with real text, so you can see whether a long name breaks a line. Leave one empty and it stays a placeholder. Nothing you type here is saved with the template.

Show if

Select a block, open the eye button in its bubble menu, and put a key under Show if. The block then renders only when that key is true in the data you send. Leave it empty and the block always shows.

The same template, rendered twice: with isMember true the members-only block is in the email, and without it the block is dropped and everything else stays put.

Choose a key your app can supply as a boolean, such as isMember or hasUnpaidInvoice. This lets one template show different content for different recipients. Keys already used elsewhere in the template are offered as suggestions, and hovering one outlines every block that uses it.

One rule worth knowing: a request that sends no data at all shows every conditional block, because there is nothing to test against. Once you do send data, a key that is missing from it counts as false and the block is dropped. So send the key, even when it is false.

With a block gated on isMember, this request keeps it, and the same request with false or without the key drops it:

{
  "data": {
    "firstName": "Ada",
    "isMember": true
  }
}

Repeat

A Repeat block turns a list in your data into a run of blocks. Insert one from the slash menu, set Repeat over to the key that holds the list, and build one item inside it: a line, a card, a row of columns. The block renders once per item. Variables read the current item first, so {{name}} uses that item’s name. If the field is missing, it reads from the top level of your data. Plain text repeats unchanged.

Build the row once with pills; the list decides how many times it appears.

Edit the first item in the editor. Faded copies below it show how the repeat will look and update as you type. The count comes from your sample data, or defaults to two; change it in the Data panel. Clicking a copy selects the editable item. Show if conditions inside a Repeat also read from the current item.

With Repeat over set to items and a line inside reading {{name}}: {{price}}, this request renders two lines:

{
  "data": {
    "firstName": "Ada",
    "items": [
      {
        "name": "Notebook",
        "price": "£12"
      },
      {
        "name": "Pen",
        "price": "£3"
      }
    ]
  }
}

An empty list, or no items key at all, renders the block zero times. A value that is not a list is refused with a 422 that names the key.