flashtimer

Create, edit and place live email countdown timers from Claude, ChatGPT and other MCP clients.

Hosted MCP Server

npx add-mcp 'https://mcp.flashtimer.com/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

The countdown timerAPI for developers

Create, list, update, archive and delete countdown timers programmatically. Every API key is scoped to your organization — timers you manage via the API show up right alongside the ones you make in the dashboard.

Authentication

Create a key from Settings → API Tokens. The plaintext value is only ever shown once, right after creation — store it somewhere safe. Pass it as a bearer token on every request via the Authorization header:

Authorization: Bearer ft_live_4f9c2a1b...

Revoking a key from the dashboard takes effect immediately — requests using a revoked key get a 401.

Every endpoint below is relative to https://api.flashtimer.com, and described in its OpenAPI document. API access is included on the Pro plan and above.

Create a timer

POST/v1/timers

name and expiry_datetime are the only required fields — everything else, including the entire visual theme, falls back to sane defaults. A field sent as null is not set, as if it were left out, so one body works for both this and Update a timer: the JSON the editor's Dev tab shows (its cURL copies) creates a copy of the timer. A successful response returns the new timer's id:

{
  "id": "5da851e7-f41d-4af8-bd87-f45611a6bd67"
}

For all available fields and a full theme example, see Field reference below.

List timers

GET/v1/timers

Returns timers belonging to your organization, newest first by default. All parameters are optional query-string parameters.

[
  {
    "id": "5da851e7-f41d-4af8-bd87-f45611a6bd67",
    "name": "Black Friday Sale",
    "description": "",
    "end_date_time": "2026-11-27T23:59:00-05:00[America/New_York]",
    "is_archived": false,
    "created_at": "2026-01-01T00:00:00.000Z",
    "updated_at": "2026-01-02T00:00:00.000Z"
  }
]

An evergreen, dynamic, recurring, cycle or count-up timer has no single end date (the first two end per recipient, the others never end), so its end_date_time is the placeholder 2099-01-01T00:00:00[UTC]. Retrieve the timer for its schedule.

Query parameters

ParameterTypeDescription
querystringCase-insensitive substring match on name.
status"all" | "active" | "expired" (repeatable)Defaults to all statuses.
archivedbooleanList archived timers instead of active ones. Defaults to false.
order_by"name" | "created_at" | "updated_at" | "end_date_time"Defaults to created_at.
order_direction"asc" | "desc"Defaults to desc.
limitinteger (1-100)Defaults to 100.
offsetintegerDefaults to 0.

Retrieve a timer

GET/v1/timers/:id

Returns a timer's full configuration, including its theme — the same shape you'd send to create or update it.

{
  "name": "Black Friday Sale",
  "description": "",
  "organization_id": "org_2abc123def456",
  "expiry_datetime": "2026-11-27T23:59:00-05:00[America/New_York]",
  "expiry_message": "Sale has ended!",
  "language": "en",
  "is_archived": false,
  "theme": { "...": "same shape as the theme you sent on create" }
}

Update a timer

PATCH/v1/timers/:id

Partial update — send only the fields you want to change. Anything you omit, including nested theme fields, is left exactly as it was — with one exception: the timer has one way of ending, so setting one of evergreen_duration, recurrence, cycle, count_up or dynamic replaces whichever of them the timer had, and drops start_on_send unless the new one is an evergreen_duration. The response is the full timer config after the update (for a token with only the timers:write scope, just { "id": "…", "updated": true }):

{
  "name": "Extended Black Friday Sale",
  "description": "",
  "organization_id": "org_2abc123def456",
  "expiry_datetime": "2026-11-29T23:59:00-05:00[America/New_York]",
  "expiry_message": "Sale has ended!",
  "language": "en",
  "is_archived": false,
  "theme": { "...": "unchanged fields are left as they were" }
}

Delete a timer

DELETE/v1/timers/:id

Permanently deletes the timer. There's no undo — if you might want it back, use Archive instead.

A successful response is 204 No Content with an empty body.

Archive & restore a timer

Archiving hides a timer from your active list without deleting it — useful for sales that ended but you still want to reference later.

POST/v1/timers/:id/archive

{ "archived": true }

Restore

POST/v1/timers/:id/restore

{ "restored": true }

Send links

POST/v1/timers/:id/send-links

A start-on-send timer (start_on_send: true with an evergreen_duration) counts down from when the email is sent, not from each recipient's first open. Call this once per send, as close to the send as you can, and use the returned url as that email's image. The deadline is sent_at plus the timer's duration, signed into the URL, so recipients can't change it. Removing the parameters shows the expired message, never a fresh countdown.

The body is optional. sent_at is an ISO 8601 date-time with an offset, within 31 days of now, and defaults to now. Needs the timers:write scope. Returns 201; 404 for an unknown timer; 422 if the timer isn't start-on-send or sent_at is out of range; or 503 if send links are temporarily unavailable.

{
  "url": "https://timers.flashtimer.com/xK3mZ9pQvT.gif?d=1795960800&sig=1BCdT7WpN8niONONxc46tALkFHVyy5MG4EdodLWFWfo",
  "sent_at": "2026-11-27T14:00:00.000Z",
  "expires_at": "2026-11-29T14:00:00.000Z"
}

Dynamic timers

A dynamic timer (dynamic with a timezone and an optional default_time) counts down to a different date for each recipient: the one your email platform puts in the image link's end parameter, usually with a merge tag for a field such as their trial end. Create it without an expiry_datetime and embed the GIF URL with ?end= followed by the date field's merge tag. It needs the Pro plan or higher, and a timer a store integration manages can't be dynamic.

The value is read in these formats. An end with no zone is read in the timer's timezone, and a date alone ends at default_time there.

FormatExample
Date only, at default_time in the timer's timezone2026-10-05
Date and time in the timer's timezone2026-10-05T18:00, 2026-10-05 18:00:30 or 2026-10-05 18:00:00.000
ISO 8601 with a zone (T or a space before the time)2026-10-05T18:00:00+03:00, 2026-10-05 18:00:00 +0300 or 2026-10-05T15:00:00Z
Date and time followed by UTC or GMT, as Liquid prints a UTC time2026-10-05 15:00:00 UTC
Unix seconds (10 digits)1791212400
Unix milliseconds (13 digits)1791212400000
Slash, dash or dot date, optionally with a time. Without endfmt, only when the day can't be mistaken for the month; add &endfmt=mdy or &endfmt=dmy to read any such date month-first or day-first10/25/2026, 25/10/2026 18:00, 25-10-2026 or 10/05/2026 with &endfmt=mdy

A missing end shows the timer's expired message and fallback image, as does a date in the past. An unreadable one shows a neutral “currently unavailable” image instead, which isn't cached, and an end more than ten years away is unreadable. Your platform must output the date in one of the formats above; a literal + in an offset works even when it isn't URL-encoded.

An explicit midnight means midnight: a platform that prints a date field as 2026-10-05 00:00:00, or stores it as a midnight-UTC timestamp, ends the countdown at the start of that day. Have it output the date alone (2026-10-05) to end at default_time. Dates written with slashes (10/05/2026) are refused, since month and day order varies.

The end value is not signed: anyone holding the link can change it, which only changes their own countdown. Don't use a dynamic timer for anything that has to be enforced; use a send link for a deadline recipients can't change.

curl -X POST "https://api.flashtimer.com/v1/timers" \
  -H "Authorization: Bearer ft_live_4f9c2a1b..." \
  -H "Content-Type: application/json" \
  -d '{ "name": "Trial ending", "dynamic": { "timezone": "Europe/Athens", "default_time": "18:00" } }'

# Embed, with your email platform's merge tag for the date field (Klaviyo shown):
# https://timers.flashtimer.com/xK3mZ9pQvT.gif?end={{ person.trial_end }}
# Each recipient's link then reads like:
# https://timers.flashtimer.com/xK3mZ9pQvT.gif?end=2026-10-05

Field reference

These are the body fields accepted by Create. Update accepts the exact same fields, all optional — only the ones you include are changed, except that setting one way of ending (evergreen_duration, recurrence, cycle, count_up or dynamic) replaces the one the timer had (see Update a timer).

FieldTypeRequiredDescription
namestringYesThe timer's name (1-200 characters).
expiry_datetimestringNoZoned datetime the timer counts down to, e.g. 2026-12-31T23:59:00+02:00[Europe/Athens]. Required unless evergreen_duration, recurrence, cycle, count_up or dynamic is set, and refused alongside one.
start_datetimestring | nullNoWhen the sale started, for the Sale bar style (ft_31), which shows how much of the sale is left: a zoned datetime like expiry_datetime, e.g. 2026-11-20T09:00:00+02:00[Europe/Athens]. Left out, the bar runs from the timer's creation. It must be before a fixed expiry_datetime. Used with a fixed or dynamic end only: a recurring or cycle timer's bar runs over its period, an evergreen one's over each recipient's own countdown. On Update, null removes it.
descriptionstringNoInternal note about the timer (not shown to recipients).
expiry_messagestringNoMessage shown once the timer has expired.
languagestringNoLabel language: "auto" or one of en, fr, es, de, it, pt, nl. A region is dropped ("fr-CA" is stored as "fr"); anything else is refused. "auto" uses each reader's browser language, which Gmail's and Apple's image proxies hide. A lang= parameter on the image URL, such as your email platform's language merge tag, overrides the timer's language per send. Defaults to "en".
fallback_image_keystringNoKey of the static image shown after expiry. Upload the image to the timer in the dashboard (Timing tab, Fallback image); GET /v1/timers/:id then returns its key. A key that isn't one of your organization's uploads is refused with 422. Requires the Basic plan or higher. On Update, null removes it.
evergreen_durationobjectNoCounts down this long instead of to a date, e.g. { "amount": 48, "unit": "hours" } (units: minutes, hours, days, weeks; amount up to 999). By default the countdown starts at each recipient's first open. Leave expiry_datetime out; the timer's stored expiry_datetime is then 2099-01-01T00:00:00[UTC], a placeholder that is never rendered. On Update, null switches back to a fixed deadline and needs an expiry_datetime in the same request.
start_on_sendbooleanNoWith evergreen_duration, counts from the send instead of the first open; refused without one. Embed these timers with a send link (see Send links); their plain URL shows the expired message.
recurrenceobjectNoResets at that time instead of expiring: { "repeat": "daily" | "weekly" | "monthly", "time": "HH:MM", "weekday"?: 0-6 (0 = Monday, required for weekly), "day_of_month"?: 1-31 (required for monthly; clamped to the month's last day), "timezone": IANA name, e.g. Europe/Athens }. A field the repeat doesn't use is ignored; an unknown key is refused. Leave expiry_datetime out. Requires the Basic plan or higher, and is refused on a timer a store integration manages. On Update, null switches back to a fixed deadline and needs an expiry_datetime in the same request.
cycleobjectNoLoops forever from the timer's creation: { "period_minutes": 1-1438560 }. Leave expiry_datetime out. The cycle.anchor in responses is read-only; an anchor sent in a request is ignored. Requires the Basic plan or higher, and is refused on a timer a store integration manages. On Update, null switches back to a fixed deadline and needs an expiry_datetime in the same request. Only one of evergreen_duration, recurrence, cycle, count_up and dynamic can be set.
count_upobjectNoCounts up from a start time instead of down to one: { "from": zoned datetime, e.g. 2026-10-05T09:00:00+03:00[Europe/Athens] }. Shows 00:00:00 until then and never stops. Leave expiry_datetime out; start_on_send is refused with it. Requires the Basic plan or higher, and is refused on a timer a store integration manages. On Update, null switches back to a fixed deadline and needs an expiry_datetime in the same request. Only one of evergreen_duration, recurrence, cycle, count_up and dynamic can be set.
dynamicobjectNoCounts down to an end date each recipient's link carries in its?end= URL parameter: { "timezone": IANA name such as Europe/Athens (not an offset), "default_time": "HH:MM", default "23:59" }. Leave expiry_datetime out; start_on_send is refused with it. See Dynamic timers for the accepted?end= formats. Requires the Pro plan, and is refused on a timer a store integration manages or one in an A/B test (an A/B test's embed carries no recipient's date). On Update, send timezone each time; a default_time left out keeps the timer's current one ("23:59" for a timer switching to dynamic), and null switches back to a fixed deadline and needs an expiry_datetime in the same request. Only one of evergreen_duration, recurrence, cycle, count_up and dynamic can be set.
themeobjectNoVisual overrides — see below. Any field you omit falls back to the default theme.

theme fields

All optional. Unknown keys are rejected with a 422 so typos don't silently fall back to defaults.

FieldTypeDescription
shape_type"ft_01" … "ft_48"Which timer style to use: ft_01 Pill, ft_02 Boxes, ft_03 Circles, ft_04 Compact, ft_05 Minimal, ft_06 Rings, ft_07 Progress ring, ft_08 Outline ring, ft_09 Dotted ring, ft_10 Tick ring, ft_11 Outline box, ft_12 Divided box, ft_13 Tiles, ft_14 Hinge tiles, ft_15 Blocks, ft_16 Split digits, ft_17 Flip clock, ft_18 Colon, ft_19 Capsule, ft_20 Inline, ft_21 Slash, ft_22 Lines, ft_23 Dashed ring, ft_24 Segment, ft_25 Dot matrix, ft_26 Neon, ft_27 Pie, ft_28 Border progress, ft_29 Bars, ft_30 Drain, ft_31 Sale bar, ft_32 Calendar, ft_33 Ticket, ft_34 Diamond, ft_35 Gloss, ft_36 Badge, ft_37 Headline, ft_38 Sentence, ft_39 Month, ft_40 Day strip, ft_41 Date poster, ft_42 Notch box, ft_43 Side label, ft_44 Gauge, ft_45 Orbit, ft_46 Dial, ft_47 Solid pie, ft_48 Stacked. Every style works on every plan. ft_07 and up are drawn at twice their size for sharp retina screens, so give their <img> the width the editor's Embed code gives it (half the GIF's), never width:auto.
font_size"small" | "medium" | "large"Digit font size.
fontstringA font id, not a name: one of the system fonts or a font your organization uploaded. It's the last part of the font's address under Fonts (/fonts/<id>). An id that matches no such font is refused with 422. Choosing a font your organization uploaded needs the Basic plan or higher; without it the request returns 403 with code plan_feature_required.
font_weight300 | 400 | 500 | 600 | 700 | 800 | nullThe digits' weight: 300 Light, 400 Regular, 500 Medium, 600 SemiBold, 700 Bold, 800 ExtraBold. On ft_01–ft_06 the labels' too. Only the weights the font has (an uploaded font has one); any other is refused with 422, naming the font's weights. Left out, or 400, is the font's regular look; 400 or null removes a stored one (400 is stored as absent, so GET then leaves it out). Every plan.
backdrop_fillhex colorBackground fill color, e.g. #0F172A.
no_backdropbooleanMake the background transparent instead of filling it with backdrop_fill. A GIF pixel is either transparent or solid, so the timer's antialiased edges are blended into matte_color. Requires the Basic plan or higher; turning it on without one returns 403 with code plan_feature_required.
matte_colorhex colorWith no_backdrop, the colour the timer's edges are blended into. Set it to the email background behind the timer, or the edges show a fringe of this colour. Defaults to #FFFFFF.
message_colorhex colorColour of expiry_message's text once the timer has ended. Leave it out to use digits.color.
digits.leading_zerobooleanPad single digits with a leading zero.
digits.colorhex colorDigit text color.
digits.fillhex colorDigit background fill color.
digits.border_colorhex colorOptional digit border color.
digits.corners"square" | "rounded" | "pill"The unit boxes' corners, on ft_11 Outline box, ft_12 Divided box, ft_13 Tiles, ft_14 Hinge tiles, ft_15 Blocks, ft_16 Split digits, ft_17 Flip clock, ft_28 Border progress, ft_30 Drain, ft_35 Gloss, ft_42 Notch box, ft_43 Side label, ft_48 Stacked; pill rounds the shorter side fully. Left out, the style's own (square on Blocks, Split digits, Side label and Stacked, rounded on the rest). The style's own is stored as absent, so GET leaves it out; a style that doesn't take it ignores it and doesn't store it.
digits.border_width"thin" | "regular" | "thick"The unit boxes' outline width, on ft_11 Outline box, ft_12 Divided box, ft_28 Border progress, ft_33 Ticket, ft_34 Diamond, ft_42 Notch box. regular, the default, is each style's own width. Stored as absent when regular, so GET leaves it out.
digits.border_style"solid" | "dashed" | "dotted"The unit boxes' outline, on ft_11 Outline box, ft_12 Divided box, ft_28 Border progress, ft_33 Ticket, ft_34 Diamond, ft_42 Notch box: solid (the default), dashed, which reads as a coupon, or dotted: round dots. Stored as absent when solid.
digits.outlinebooleanDigits drawn as an outline with no fill, on ft_07 Progress ring, ft_08 Outline ring, ft_09 Dotted ring, ft_10 Tick ring, ft_11 Outline box, ft_12 Divided box, ft_18 Colon, ft_19 Capsule, ft_20 Inline, ft_21 Slash, ft_22 Lines, ft_23 Dashed ring, ft_27 Pie, ft_28 Border progress, ft_29 Bars, ft_33 Ticket, ft_34 Diamond, ft_37 Headline, ft_42 Notch box, ft_44 Gauge, ft_45 Orbit, ft_46 Dial. false (the default) is stored as absent.
labels.colorhex colorColor of the unit labels (days/hours/etc).
labels.displaybooleanWhether unit labels are shown.
labels.wording"full" | "short" | "letter"Every style: DAYS HOURS MINUTES SECONDS (full, the default), DAYS HRS MIN SEC (short) or D H M S (letter). Sending full puts the default back; it's stored as absent, so GET then leaves it out.
labels.case"upper" | "title" | "lower"Every style: the labels' case, upper (DAYS, the default), title (Days) or lower (days). Sending upper puts the default back; it's stored as absent, so GET then leaves it out.
labels.side"left" | "right" | "top" | "bottom" | nullSide label (ft_43 Side label) only: where the darker strip holding each unit's label sits on its tile. left (the default) runs down the left edge with the label turned to read bottom to top; right runs down the right edge, the label reading top to bottom; top and bottom are a band across the tile with the label upright. The tile keeps its size, so the GIF's size doesn't change with the side; the number is centred in the rest. With the labels hidden there is no strip, whatever the side. left and anything on another style are stored as absent, so GET leaves them out. null removes it.
separators.colorhex colorColor of the separators between units.
separators.displaybooleanWhether separators are shown. false is how to have no separators, on any style.
separators.style"colon" | "dot" | "slash" | nullThe character between units, on ft_13 Tiles, ft_14 Hinge tiles, ft_16 Split digits, ft_17 Flip clock, ft_18 Colon, ft_19 Capsule, ft_20 Inline, ft_24 Segment, ft_25 Dot matrix, ft_26 Neon, ft_29 Bars. Left out, the style's own, a colon, which is stored as absent. Hinge tiles (ft_14) draws no separator unless a style is set, so colon puts colons between its tiles. null removes a stored style. There is no "none": for no separators set separators.display false, which hides any.
days.displaybooleanWhether the days unit is shown.
labels.font_weight300 | 400 | 500 | 600 | 700 | 800 | nullStyles ft_07 and up: the labels' own weight, e.g. 400 labels under 700 digits. One of the font's weights. Left out (or null), the labels follow font_weight. A weight equal to the digits' (font_weight, 400 when left out) says the same, so it isn't stored: GET leaves it out, and sending the digits' weight (or null) takes a stored one off.
accentobject | nullStyles ft_07 and up: draw the seconds in other colours. { "unit": "seconds" | "none", "digits_color", "fill", "border_color", "labels_color" }, each colour optional (left out, the theme's). null removes it.
ringobject | nullProgress rings (ft_07, ft_09, ft_10, ft_23), Pie (ft_27), Border progress (ft_28), Gauge (ft_44), Orbit (ft_45), Dial (ft_46) and Solid pie (ft_47): { "direction": "ccw" | "cw", "track_color" }. ccw empties clockwise from 12 o'clock; cw starts at 12 and runs clockwise. direction defaults to ccw, except cw for Dashed ring (ft_23), whose lit dashes run clockwise from 12 o'clock, and for Gauge, Orbit, Dial and Solid pie (ft_44 to ft_47; the Gauge starts at its left end); left out, the style's own default applies. Sending the style's own direction puts the default back; it's stored as absent, so GET then leaves it out. track_color defaults to a tint of digits.border_color; null removes it and keeps the direction. null removes the ring.
layout"row" | "grid"grid lays the four units out 2×2 (days and hours over minutes and seconds), a squarer image for narrow columns, on ft_11 Outline box, ft_12 Divided box, ft_13 Tiles, ft_14 Hinge tiles, ft_15 Blocks, ft_16 Split digits, ft_28 Border progress, ft_30 Drain, ft_32 Calendar, ft_33 Ticket, ft_34 Diamond, ft_35 Gloss, ft_42 Notch box, ft_43 Side label, ft_48 Stacked. It needs the days shown; with them hidden the timer stays a row. row (the default) is stored as absent. The GIF's size follows: give the <img> the width the editor's Embed code gives it.
motion"none" | "roll"roll: each digit rolls up like an odometer when it changes, in the first seconds of the GIF (as the Flip clock flips), on ft_18 Colon, ft_19 Capsule, ft_20 Inline, ft_21 Slash, ft_22 Lines, ft_29 Bars. none (the default) is stored as absent.
saleobject | nullSale bar (ft_31 Sale bar) only: { "bar": "left" | "elapsed", "percent": boolean, "dates": boolean }. By default the Sale bar is the time over one bar, nothing else. bar says what the filled part is: left (the default) is the share of the sale left, so the bar empties towards its left end; elapsed is the share that has passed, so it fills towards its right end. percent adds "38% left" beside the time. dates adds the start and end under the bar ("Started Nov 20", "Ends Nov 28, 23:59"), for a timer with one fixed end; an evergreen, recurring or count-up timer has none to show. Merged field by field; left, false and anything on another style are stored as absent, so GET leaves them out. null removes them all.
sentenceobject | nullSentence (ft_38 Sentence) only: { "seconds": "last_hour" | "always" }. By default the Sentence names days, hours and minutes ("Ends in 5 days, 21 hours and 14 minutes") and switches to minutes and seconds once under an hour is left, so the image changes once a minute until then. always ends every sentence with the seconds ("Ends in 6 days, 6 hours, 39 minutes and 12 seconds"), so it ticks every second and the highlighted seconds (accent) show from the start; a sentence too long for 600 px is set in slightly smaller text. last_hour (the default) and anything on another style are stored as absent, so GET leaves them out. null removes it.
neonobject | nullNeon (ft_26 Neon) only: { "digits": "tube" | "filled" }. tube (the default) bends each digit's outline into a glowing neon tube in the digits colour. filled lights the whole digit in the digits colour instead, with the same kind of glow around it, like a lit sign; the slash separator turns into a bar as heavy as the digits, the colon and the dot stay round lamps. The image is the same size either way, and filled is a smaller file. tube and anything on another style are stored as absent, so GET leaves them out. null removes it.
dateobject | nullSave the date (ft_39 Month, ft_40 Day strip, ft_41 Date poster) only: { "look": "paper" | "clean", "marker": "pen" | "ring" | "underline" | "check" | "cross" | "fill" | "heart" | "highlight", "line": "date" | "days" | "countdown" | "none", "past": "cross" | "fade" | "none", "week_start": "monday" | "sunday", "days": 7 | 9 | 11 }. These styles draw a calendar with the deadline's day marked, read in the timer's time zone, instead of the time left alone. look: paper (the default) is a page (digits.fill) with a header band (digits.border_color) on the backdrop; clean puts the calendar straight on the backdrop. marker is the mark on the day, drawn in separators.color: pen (the default) a hand-drawn circle, ring a geometric one, underline, check, cross and heart hand-drawn, fill a solid disc, highlight a highlighter band. line is what is written under the calendar: date (the default, "Thursday, December 17 · 9:00 AM"), days ("in 23 days", "Tomorrow", "Today"), countdown (the live countdown, "23 days 04:12:33", the only one that ticks every second) or none, a shorter image. past is how the days already gone are drawn: cross (the default) crossed off, fade faded, none as the other days. week_start (Month and Date poster) is monday (the default) or sunday. days (Day strip) is how many days the strip draws: 7 (the default), 9 or 11. labels.color is the weekdays' colour; the labels, separators and leading zero switches draw nothing here, and days.display counts only in the countdown line. Merged field by field; a default, a field its style doesn't take and anything on another style are stored as absent, so GET leaves them out. null removes them all.

Responses

Error responses you may get from any /v1/timers endpoint, with an example body for each. Toggle Show Schema to see the shape instead of example values.

{
  "error": "expiry_datetime must be a valid zoned datetime string"
}

A fixed timer's expiry_datetime isn't a parseable zoned datetime string.

Rate limits

Requests are limited per organization (not per key — all keys belonging to the same organization share the same limit) by plan: 60 per minute on Pro, 150 per minute on Business and 300 per minute on Enterprise. The Free and Basic plans don't include API access. Once you hit the limit, you'll get a 429 until the window resets.

MCP server

flashtimer also exposes an MCP server at https://mcp.flashtimer.com/mcp, so AI assistants like Claude and ChatGPT can create and manage your timers directly. It's available on the Pro plan and up, with the same rate limit as the REST API. The MCP server page has every tool with the scope and plan it needs, and the steps for each app.

Setting it up for a marketing team? The guide to flashtimer in AI assistants has the steps for Claude and ChatGPT, example requests and troubleshooting.

Connect from Claude

  1. In Claude, open Customize → Connectors and choose Add custom connector.
  2. Enter https://mcp.flashtimer.com/mcp and select Add.
  3. Sign in to flashtimer, choose the organization and select Allow.

Claude acts as you, in the flashtimer organization you choose. Disconnect it at any time in Settings → Connected Apps. On Claude Team or Enterprise, an Owner of your Claude organization adds the connector first under Claude's Organization settings → Connectors (Add, then Custom); each member then selects Connect under Customize → Connectors.

In Claude Code, add it with this command, then run /mcp in Claude Code and follow the steps in your browser to sign in:

claude mcp add --transport http flashtimer https://mcp.flashtimer.com/mcp

Connect from ChatGPT

  1. In ChatGPT on the web, open Plugins, select +, then Add custom MCP server (your account's and workspace's settings decide whether you can).
  2. Enter a name and the URL https://mcp.flashtimer.com/mcp, choose OAuth authentication, confirm the warning and select Create as a plugin.
  3. Install it, then sign in to flashtimer, choose the organization and select Allow, as with Claude.

Use it from the OpenAI API

The OpenAI Responses API calls the server itself: pass an API token as the authorization of an mcp tool. OpenAI doesn't store it, so send it with every request.

curl https://api.openai.com/v1/responses \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5",
    "tools": [
      {
        "type": "mcp",
        "server_label": "flashtimer",
        "server_url": "https://mcp.flashtimer.com/mcp",
        "authorization": "ft_live_4f9c2a1b...",
        "require_approval": "always"
      }
    ],
    "input": "List my flashtimer timers"
  }'

Use an API token

Clients that take a fixed header, like Cursor or VS Code, can use an API token instead: pass it as a bearer token in the Authorization header of your client's MCP config. A token with only the read scope gets the read tools.

{
  "mcpServers": {
    "flashtimer": {
      "url": "https://mcp.flashtimer.com/mcp",
      "headers": {
        "Authorization": "Bearer ft_live_4f9c2a1b..."
      }
    }
  }
}

Example prompts

Once it's connected, ask in your own words. For example:

  • “Create a countdown timer for our weekend sale that ends Sunday at midnight New York time, in our brand colours.”
  • “Make the Spring Sale timer red and push its end back by two days.”
  • “Create a timer from my store's discount SUMMER20 and give me the HTML for my email.”
  • “How did my timers do over the last 30 days, and which one got the most clicks?”
  • “Put the Flash Sale timer at the top of my Klaviyo campaign Weekend Launch.”

Available tools

Tools that create, revise or fetch a timer also return its image URL, a paste-ready HTML snippet for your email and a preview image, so the assistant can hand you the code and see what it made.

In Claude and ChatGPT the result also appears as a card: the timer running, with its texts, colours, end date, font and shape to change and preview before you save, and a button that copies the email snippet.

An assistant can read a timer linked to a store discount but not change, archive or delete it (it can still set or clear the timer's stock signal); it says where to change it instead. A timer your store syncs follows the discount on its own; one you linked by hand takes on new dates when it's resynced.

A/B tests and stock signals need the Business plan: starting or resuming a test, adding a click destination, listing store products and setting a stock signal. Reading a test, pausing it, promoting its winner and clearing a signal work on Pro too.

ToolAccessDescription
create_timerWriteCreates a new timer. Same fields as POST /v1/timers.
list_timersReadLists your timers, with optional filtering, ordering, and pagination.
get_timerReadFetches the full configuration of a single timer by id.
archive_timerWriteArchives a timer so it stops showing as active.
restore_timerWriteRestores a previously archived timer.
create_send_linkWriteMints the embed URL for one send of a start-on-send timer. Same as POST /v1/timers/:id/send-links.
design_timerWriteDesigns a new timer's settings from a free-text brief, e.g. "20% off, ends Friday, dark theme". It picks settings; it doesn't create images.
revise_timerWriteChanges an existing timer's settings (texts, colours, layout, or end date) from a free-text instruction, e.g. "make it red and extend by 2 days". A recurring, cycle, count-up, evergreen or dynamic timer has no shared end date, so it keeps its schedule: the result's expiry_datetime is null, with a note when a new end date was asked for.
update_timerWriteChanges exactly the fields you send on a timer. Same fields as PATCH /v1/timers/:id.
duplicate_timerWriteCopies a timer into a new one named "<name> (Copy)".
delete_timerWriteDeletes a timer for good. Prefer archive_timer to just hide it.
list_promotionsReadLists the active and upcoming discounts of your connected stores (Shopify, WooCommerce, BigCommerce, PrestaShop, Magento, Squarespace).
create_timer_from_promotionWriteCreates a timer for a store discount, in your brand kit's style, linked to it (resync it when the discount's dates change).
link_timer_to_promotionWriteLinks an existing timer to a store discount; the timer takes on its dates.
resync_timer_to_promotionWriteGives a timer linked to a store discount by hand that discount's current dates, like Resync in the app.
get_brand_kitReadYour brand kit's colours and font, with the font's weight (font_weight, 400 when it names none), which new timers start in.
list_fontsReadThe fonts a timer can use, by name, with the id to pass as theme.font.
get_usageReadThis billing period's timer views against your plan's limit plus any top-up credit, and whether timers have gone static.
get_analyticsReadViews, uniques, clicks, top timers, countries, email clients and devices for a range.
list_stock_productsReadA connected store's products and stock.
set_inventory_signalWriteExpires a timer when a product's stock reaches a threshold (confirm first if it already has).
clear_inventory_signalWriteStops watching stock.
list_ab_testsReadYour A/B tests.
get_ab_testReadA test's results, embed snippet and tracked links.
create_ab_testWriteStarts an A/B test between two timers.
set_ab_test_activeWritePauses or resumes a test.
promote_ab_test_winnerWriteEnds a test and serves the winner to everyone (confirm first).
add_ab_click_destinationWriteAllows a URL for the test's tracked link.
list_campaignsReadCampaigns on your connected email platforms.
preview_campaign_embedWriteShows what putting a timer into a campaign will do, with a confirmation token.
embed_timer_in_campaignWriteWrites the timer into the campaign, with the token.

Troubleshooting

Connecting says the organization needs the Pro plan

Connecting an AI assistant is available on the Pro plan and up. On the page that asks you to allow the connection, switch the Organization to one on Pro or higher.

The assistant can only read

It has only the access it was given: an app that asked only to read gets only the read tools. Disconnect the app and connect it again.

It says the token or connection needs read access

An assistant has to be able to see your timers. Use an API token with the read scope as well as write. An app that asks only to change timers is turned away on the page where you allow the connection, with only Cancel to choose: it has to ask for read access too.

It says it can't change a timer

An assistant can't change, archive or delete a timer linked to a store discount; setting or clearing its stock signal still works. Change the discount in your store, or open the timer in flashtimer. A timer you linked by hand can be resynced to the discount's current dates.

New tools don't show up

Assistants load the tools when they connect. Start a new conversation; if they're still missing, disconnect and connect again. In ChatGPT, open it under Plugins and select Refresh.

New tools don't show up in a plugin from ChatGPT's directory

It gets new tools once OpenAI has reviewed them.

Disconnecting an assistant

Disconnect it in the assistant, or revoke any connection in flashtimer under Settings → Connected Apps. A connection left unused for 30 days expires on its own.

Requests are refused for a while

The MCP server shares the REST API's rate limit. Wait a moment and try again.

Still stuck? Contact support.

Expiry webhooks

Add one or more webhook URLs to a timer and flashtimer will POST a JSON payload to each URL once that timer's countdown reaches zero — usually within five minutes, later when many timers expire at the same time. Use this to trigger Zapier Zaps, Make scenarios, or any custom automation endpoint — without writing any server-side code.

How to add a webhook

  1. Open the timer editor and click Actions in the left panel.
  2. Click On Expiry to open the webhook dialog.
  3. Paste your webhook URL into the input field and click + Add. You can add multiple URLs — each one will be called in turn.
  4. Click Save. The webhooks are stored immediately; no publish step is required.

Payload

flashtimer sends this JSON body with Content-Type: application/json:

{
  "event": "timer.expired",
  "timer": {
    "id": "5da851e7-f41d-4af8-bd87-f45611a6bd67",
    "name": "Black Friday Sale",
    "expiredAt": "2026-11-27T23:59:00.000Z",
    "organizationId": "org_01jk..."
  },
  "timestamp": "2026-11-27T23:59:01.234Z"
}

Connecting to Zapier or Make

Both platforms expose a "catch webhook" trigger URL you can paste directly into the dialog:

  • Zapier — create a Zap, choose Webhooks by Zapier → Catch Hook, copy the URL, paste it here. See the Zapier integration guide for the full walkthrough.
  • Make — add a Webhooks → Custom webhook module, copy the URL, paste it here. See the Make integration guide.

Notes

  • Webhooks fire at most once per expiry. Once a timer has expired and its webhooks have been called, they fire again only if you re-arm the timer: save its webhook list again, or move its end date into the future, and they fire at the next expiry.
  • A timer's URLs are called one after another, each given five seconds to answer, and each is called even if one before it fails or times out. A URL that points at a private or internal address is refused when you save it, and skipped if one is ever stored. A failed call is not retried, so use an endpoint that is reliably up, such as a Zapier or Make webhook.
  • Only a timer with a fixed end date fires. Evergreen, dynamic, recurring, cycle and count-up timers have no single moment when they end, and an archived timer doesn't fire.
  • Requests aren't signed. If your endpoint acts on them, give it a URL that is hard to guess and check that the timer id in the payload is one of yours.
  • The dialog shows a green Last fired timestamp once the webhooks have been called, so you can confirm delivery without leaving flashtimer.

Klaviyo

Connect Klaviyo so flashtimer can list your draft and scheduled campaigns inside the Deploy → Send to ESP panel. Pick a campaign and click Embed Timer: flashtimer adds the timer to the campaign for you, with a preview first — no tab-switching needed.

Setup

  1. Open Settings → Integrations → Klaviyo and click Connect Klaviyo. Connecting is open to workspace owners and admins, on every plan.
  2. Sign in to Klaviyo if it asks, pick the account, and approve flashtimer's access. There's no API key to create or copy.
  3. Klaviyo sends you back to flashtimer, which shows the account it's connected to.

Every screen, with screenshots, is in the Klaviyo setup guide.

To disconnect, use Disconnect on the same page: flashtimer gives its access back to Klaviyo. If flashtimer is removed from your Klaviyo account instead, the page says so and offers Reconnect.

What it unlocks

  • On Pro and up, draft and scheduled campaigns are fetched and shown in the Send to ESP panel.
  • flashtimer generates a ready-to-paste <img> snippet pointing at the live timer GIF on timers.flashtimer.com.

Or paste it into Klaviyo yourself

Add a Custom HTML block in your email and paste:

<img src="https://timers.flashtimer.com/xK3mZ9pQvT.gif"
     alt="Black Friday Sale"
     style="display:block;outline:none;border:none;text-decoration:none;width:100%;" />

Mailchimp

Connect Mailchimp so flashtimer can list your draft campaigns in the Send to ESP panel and add the timer to the one you pick.

Setup

  1. Open Settings → Integrations → Mailchimp and choose Connect with Mailchimp. You sign in to Mailchimp and approve flashtimer, with no key to copy, and the connection doesn't expire.
  2. Or connect with an API key: in Mailchimp go to Profile → Extras → API keys, create a key and paste it in the same dialog. The server prefix is read from the end of the key (the us21 in …-us21). Mailchimp API keys created after June 2026 expire after a year.

Every screen, with screenshots, is in the Mailchimp setup guide.

What it unlocks

  • Draft campaigns (status save) are listed in the Send to ESP panel: regular campaigns and A/B tests. Plain-text and RSS campaigns aren't, since a timer is an image in the email's HTML.
  • Embed adds the timer to the campaign you pick, at the place you choose in the preview. In an A/B test that tests content, it goes into every version at the same place, or into none when the versions aren't laid out alike.
  • A campaign laid out in Mailchimp's drag-and-drop editor is saved as custom HTML when the timer is added; the panel says so before you confirm.
  • Send me a test has Mailchimp send the campaign to your own address, and the timer page shows Mailchimp's own numbers (sent, opened, clicked) for each campaign once it has gone out.
  • For a dynamic timer, the date field picker lists the date fields of your audiences.

Or paste it into Mailchimp yourself

Add a Code block in your campaign and paste:

<img src="https://timers.flashtimer.com/xK3mZ9pQvT.gif"
     alt="Black Friday Sale"
     style="display:block;outline:none;border:none;text-decoration:none;width:100%;" />

Omnisend

Connect Omnisend so flashtimer can list your draft email campaigns and the emails inside your automations in the Send to ESP panel. Pick one, click where the timer goes in the preview, and flashtimer adds it as an HTML block, leaving the rest of the drag-and-drop design as it is.

Setup

  1. In Omnisend go to Store Settings → API keys, click Create API key and tick every permission. Copy the key.
  2. Paste it under Settings → Integrations → Omnisend and click Connect Omnisend. Connecting is open to workspace owners and admins, on every plan.

Where the dialog offers Connect with Omnisend, you can sign in to Omnisend and approve flashtimer instead, with no key to copy. Every step is in the Omnisend setup guide.

What it unlocks

  • On Pro and up, draft email campaigns and automation emails are listed in the Send to ESP panel. Sending the timer to an email again replaces the old one, and it can be taken out again. A campaign that has started sending is locked by Omnisend: copy it to get a draft.
  • On every plan, the timer page's In Omnisend panel saves the timer as a layout in Omnisend's email builder, named FlashTimer · <timer name>, for any campaign, automation or template.
  • Evergreen timers carry ?vid=[[contact.email]]&esp=omnisend, so each contact gets their own countdown. Dynamic timers (Pro and up) read a date with ?end=[[contact.custom_properties.<property>]].
  • Start-on-send timers carry ?sent=[[ current_date | date: '%s' ]]: Omnisend fills in when it sends each email, so every email counts down from its own send, with no send link.

Or paste it into Omnisend yourself

On any plan, open the timer, click Embed and choose Omnisend as the email platform, so the URL carries Omnisend's tag. Add an HTML block in your email and paste:

<img src="https://timers.flashtimer.com/xK3mZ9pQvT.gif"
     alt="Black Friday Sale"
     style="display:block;outline:none;border:none;text-decoration:none;max-width:100%;" />

ActiveCampaign

ActiveCampaign works by pasting the timer into your email: there's nothing to connect. One-click embedding for ActiveCampaign is coming; until then, open the timer, click Embed and copy its HTML. For an evergreen or dynamic timer, choose ActiveCampaign as the email platform there, so the URL carries ActiveCampaign's tag, such as %SUBSCRIBERID%.

Paste into ActiveCampaign

Add an HTML block in your campaign and paste:

<img src="https://timers.flashtimer.com/xK3mZ9pQvT.gif"
     alt="Black Friday Sale"
     style="display:block;outline:none;border:none;text-decoration:none;max-width:100%;" />

Drip

Drip works by pasting the timer into your email: there's nothing to connect. One-click embedding for Drip is coming; until then, open the timer, click Embed and copy its HTML. For an evergreen or dynamic timer, choose Drip as the email platform there, so the URL carries Drip's tag, such as {{ subscriber.email }}.

Paste it into Drip

Add a Custom HTML block in your broadcast and paste:

<img src="https://timers.flashtimer.com/xK3mZ9pQvT.gif"
     alt="Black Friday Sale"
     style="display:block;outline:none;border:none;text-decoration:none;max-width:100%;" />

Brevo

Connect Brevo (formerly Sendinblue) to pull draft and scheduled email campaigns and active templates into flashtimer and add countdown timers to them with one click.

Setup

  1. In Brevo go to Settings → SMTP & API → API Keys & MCP and click Generate a new API key.
  2. Give it full access, or Email campaigns: All, Transactional email: All, Contacts: Read and Account: Read, and choose No expiry.
  3. Copy the key: it starts with xkeysib-.
  4. If Brevo blocks unknown IP addresses for API keys, deactivate that under Settings → Security → Authorized IPs: flashtimer reaches Brevo from Cloudflare's shared addresses, which can change.
  5. Paste it under Settings → Integrations → Brevo.

Every screen, with screenshots, is in the Brevo setup guide.

What it unlocks

  • Draft and scheduled email campaigns, then active templates, are listed in the Send to ESP panel.
  • Embed Timer adds the timer to the selected campaign or template in one click. A drag-and-drop email is saved as HTML: it opens in Brevo's HTML editor afterwards.
  • Send me a test has Brevo send it to you, as long as your address is a contact in one of your Brevo lists.
  • Dynamic timers list your contact attributes of type Date and ask whether your account writes them day or month first (Settings → General → Date format), and the timer page shows each sent campaign's opens and clicks.

Or paste it into Brevo yourself

Add an HTML block in your campaign or automation email and paste:

<img src="https://timers.flashtimer.com/xK3mZ9pQvT.gif"
     alt="Black Friday Sale"
     style="display:block;outline:none;border:none;text-decoration:none;max-width:100%;" />

Wix

Connect Wix to pull your draft Email Marketing campaigns into flashtimer and add a countdown timer to one made in Wix's HTML email editor in one click. Requires a Wix API key and your Site ID.

Setup

  1. In your Wix dashboard go to Settings → API Keys and click Generate API Key.
  2. Name it (e.g. flashtimer) and copy the key.
  3. Find your Site ID — it appears in your site dashboard URL: manage.wix.com/{siteId}/....
  4. Enter both under Settings → Integrations → Wix.

What it unlocks

  • Draft Email Marketing campaigns are listed in the Send to ESP panel.
  • Embed Timer adds the timer to the selected campaign in one click, if it was made in Wix's HTML email editor. For any other, paste the timer yourself (below).

Or paste it into Wix yourself

In Wix's campaign editor, add an HTML element and paste:

<img src="https://timers.flashtimer.com/xK3mZ9pQvT.gif"
     alt="Black Friday Sale"
     style="display:block;outline:none;border:none;text-decoration:none;max-width:100%;" />

Constant Contact

Constant Contact works by pasting the timer into your email: there's nothing to connect. One-click embedding for Constant Contact is coming; until then, open the timer, click Embed and copy its image URL or HTML. For an evergreen timer, choose Constant Contact as the email platform there, so the URL carries [[emailAddress]], and paste the HTML into a custom code email: Constant Contact doesn't always fill in the tag in an image URL. Test with two contacts: each should see their own countdown.

Paste into Constant Contact

In an email built in the drag-and-drop editor, add an Image block, choose Image URL and paste the timer's image URL, such as https://timers.flashtimer.com/xK3mZ9pQvT.gif. Paste the address rather than uploading the GIF: an uploaded copy stops counting down.

In a custom code email, paste this where the timer belongs:

<img src="https://timers.flashtimer.com/xK3mZ9pQvT.gif"
     alt="Black Friday Sale"
     style="display:block;outline:none;border:none;text-decoration:none;max-width:100%;" />

GetResponse

GetResponse works by pasting the timer into your message: there's nothing to connect. Open the timer, click Embed and copy its HTML. For an evergreen timer, choose GetResponse as the email platform there, so the URL carries {{CONTACT `subscriber_id`}}.

Paste it into GetResponse

Add a Custom HTML block in your newsletter and paste:

<img src="https://timers.flashtimer.com/xK3mZ9pQvT.gif"
     alt="Black Friday Sale"
     style="display:block;outline:none;border:none;text-decoration:none;max-width:100%;" />

MailerLite

Connect MailerLite under Settings → Integrations → MailerLite with an API token (in MailerLite: Integrations → MailerLite API → Generate new token), and Send to ESP adds the timer to the emails of your automations, saved as custom HTML. MailerLite lets an email change only while its automation is paused, so pause the automation first. MailerLite Classic keys aren't supported.

Every screen, with screenshots, is in the MailerLite setup guide.

Campaigns take the timer by pasting: open the timer, click Embed and copy its HTML. For an evergreen or dynamic timer, choose MailerLite as the email platform there, so the URL carries MailerLite's tag, such as {$email}.

Paste it into MailerLite

Add an HTML block in your campaign and paste:

<img src="https://timers.flashtimer.com/xK3mZ9pQvT.gif"
     alt="Black Friday Sale"
     style="display:block;outline:none;border:none;text-decoration:none;max-width:100%;" />

Zapier

Connect Zapier to send timer events to any of Zapier's 7,000+ supported apps — Slack, Notion, Google Sheets, Airtable, Salesforce, and more. No code required. flashtimer POSTs a JSON payload to your Zap the moment you click Send timer data in a timer's Send to ESP panel.

Setup

  1. In Zapier create a new Zap and choose Webhooks by Zapier as the trigger.
  2. Select Catch Hook and click Continue.
  3. Copy the unique webhook URL (e.g. https://hooks.zapier.com/hooks/catch/...).
  4. Paste it under Settings → Integrations → Zapier.
  5. Add an action step in your Zap (send Slack message, log to Sheets, tag a CRM contact, etc.) and turn it on.

What it unlocks

  • flashtimer POSTs a structured JSON payload every time you send a timer to a platform.
  • Build multi-step Zaps: notify a Slack channel, update a Notion database, create a CRM task — all from one timer send.
  • The Zapier panel in the timer editor shows whether the last send succeeded or failed, so you can troubleshoot Zap filters without leaving flashtimer.

Webhook payload

flashtimer sends this JSON to your Zap when you click Send timer data:

{
  "timerName": "Black Friday Sale",
  "timerUrl": "https://timers.flashtimer.com/xK3mZ9pQvT.gif",
  "gifUrl": "https://timers.flashtimer.com/xK3mZ9pQvT.gif",
  "expiresAt": "2026-11-27T23:59:00-05:00[America/New_York]"
}

timerUrl and gifUrl point at the live GIF — embed either directly in a Slack message or HTML email action. expiresAt is null for an evergreen, recurring, cycle, count-up or dynamic timer, which has no single end date. (Evergreen timers used to send the placeholder 2099-01-01T00:00:00[UTC] here.)

Shopify

Connect your Shopify store so flashtimer can read your active discounts and surface real sale end-dates directly in the timer editor. Instead of typing a deadline manually, you pick a discount and the countdown is set automatically. Any plan can connect a store; discounts become timers on Pro and up.

Every screen, with screenshots, is in the Shopify setup guide.

Install the flashtimer app

The flashtimer app is in review for the Shopify App Store. Once it's listed, you install it from the App Store or from Settings → Integrations → Shopify. Shopify asks you to approve the access flashtimer needs (read_discounts, read_rollouts, read_products and read_inventory), then sends you back to flashtimer with the store connected and its webhooks registered. There's no token to copy. If you don't have a flashtimer account yet, you create one right after approving.

Connecting an existing custom app

Since January 1, 2026 Shopify no longer lets stores create new custom apps under Develop apps, and the Integrations page has no form for a new custom-app connection. If your store already has a custom app it would rather use, contact info@flashtimer.com and we'll help you connect it. The steps below are how that app is set up.

  1. In Shopify Admin go to Settings → Apps and sales channels → Develop apps and click Create an app.
  2. Name it (e.g. flashtimer), open its Configuration tab, then click Configure under Admin API integration.
  3. Enable the following scopes under Admin API integration:
    • read_discounts — required to list your discounts in the timer editor and keep their timers in sync: flashtimer reads each discount when Shopify reports a change, and registers its webhook listeners automatically (Shopify doesn't require a separate scope for that). Without it, no discount syncs.
      • read_products — required for the Shopify Stock Monitor feature (list products and stock levels in the timer editor).
      • read_inventory — required for the Stock Monitor to read per-location inventory quantities.
      • read_rollouts — also required to list and sync your discounts: flashtimer checks whether a Rollout decides who gets each one, and leaves that discount's timer as it is while one does. A token without it isn't accepted. Save.
  4. Click Install app to activate it.
  5. Copy the Admin API access token (starts with shpat_) — Shopify shows it only once.
  6. Also copy your store's .myshopify.com domain from the admin URL.
  7. Contact info@flashtimer.com and we'll help you connect the store with them.

What it unlocks

  • Active discounts with an end date appear in the timer editor under Pick a sale end date, including code discounts made through Shopify's older Price Rules API.
  • Select a discount and the countdown deadline fills in automatically — no copy-paste needed.
  • Discounts with endsAt: null (always-on) are shown as context but don't set a deadline.
  • flashtimer fetches up to 50 discounts per request, ordered by most recent.

Example discounts response

// Example discounts returned from Shopify
[
  { "id": "123456789", "title": "Black Friday 20% Off", "endsAt": "2026-11-28T00:00:00Z" },
  { "id": "987654321", "title": "Cyber Monday",         "endsAt": "2026-12-01T00:00:00Z" },
  { "id": "111222333", "title": "Always-on member deal","endsAt": null }
]

Automatic sync via webhooks

When your store connects, flashtimer registers webhook listeners in it for discounts/create, discounts/update, and discounts/delete. With read_rollouts it also listens to the rollouts/* topics, so the timer of a discount a Rollout held is updated as soon as the Rollout ends, and with read_inventory to inventory_levels/update, inventory_levels/disconnect and inventory_items/delete, so the Stock Monitor rechecks your stock as it changes. A store connected earlier with the older Price Rules topics (price_rules/create, price_rules/update, price_rules/delete) is still understood while its token holds read_price_rules; those subscriptions are replaced by the discounts topics the next time it connects.

Enabling automation

A new connection starts with sync on; reconnecting the same store keeps the toggles you set. Under Settings → Integrations → Shopify you'll find three toggles under Automation:

  • Auto-create timers — a new timer is created when a discount is added in Shopify that has an end date.
  • Auto-update timers — the linked timer is updated whenever the discount's title or end date changes.
  • Auto-archive timers — the timer is archived when the discount is deleted or deactivated in Shopify.

Webhook verification

Every incoming webhook is verified with HMAC-SHA256. A store that installed the flashtimer app needs nothing more: Shopify signs its webhooks with our app's secret.

A store connected with its own custom app is signed with that app's API Secret Key. Add it to the API Secret Key field in the Shopify integration settings — without it, flashtimer rejects that store's webhook calls. It's on the API credentials tab of your custom app in Shopify Admin.

Webhooks are received at:

POST https://api.flashtimer.com/webhooks/shopify

Shopify Stock Monitor

The Stock Monitor lets you tie any timer to a Shopify product's inventory. When the product's total stock drops to or below a threshold you define, flashtimer automatically expires the timer — every email opened after the sell-out shows the expiry message instead of a live countdown.

Additional scopes required

The flashtimer app asks for these when you install it. A custom app must have two extra scopes beyond the ones discounts need:

  • read_products — allows flashtimer to list your products and their stock levels.
  • read_inventory — allows flashtimer to read per-location inventory quantities.

Adding scopes to an existing custom app

  1. In Shopify Admin go to Settings → Apps and sales channels → Develop apps and open your flashtimer app.
  2. Click Configuration → Admin API integration → Edit.
  3. Enable read_products and read_inventory, then click Save.
  4. Go to the API credentials tab and click Reinstall app — Shopify generates a new access token with the updated scopes. Copy it (shown only once).
  5. Don't disconnect the store in flashtimer: a custom-app connection can't be made again from the Integrations page. Contact info@flashtimer.com and we'll help you swap in the new token.

How to use it

  1. Open any timer in the editor and click the ⋯ actions menu in the top-right corner.
  2. Select Shopify stock. A dialog lists all your Shopify products with their current stock levels.
  3. Click the product you want to monitor, set the Expire when stock ≤ threshold (e.g. 0 to expire only when completely sold out, or 10 for a low-stock trigger), and click Save.
  4. flashtimer checks every 5 minutes. As soon as the condition is met, the timer is marked as expired — every email opened from then on shows the expiry message straight away.

Stock badge colours in the dialog: Products currently at or below your threshold appear with a red badge so you can see which items are already low before saving.

Make

Connect Make (formerly Integromat) to send timer data to any of Make's 2,000+ supported apps and services — CRMs, project tools, databases, and more — using a visual no-code workflow. No code required.

Setup

  1. In Make create a new Scenario and add a Webhooks → Custom Webhook module as the trigger.
  2. Click Add to create the webhook, give it a name, and copy the generated URL.
  3. Paste the URL under Settings → Integrations → Make.
  4. Add action modules to your Scenario (e.g. Google Sheets, Slack, Airtable) and activate it.

What it unlocks

  • flashtimer POSTs a JSON payload to your Make webhook when you click Send timer data.
  • Chain as many Make modules as you need — update a CRM, log to a sheet, send a Slack alert, all in one scenario.
  • The Make panel in the timer editor shows whether the last send succeeded or failed.

Webhook payload

{
  "timerName": "Black Friday Sale",
  "timerUrl": "https://timers.flashtimer.com/xK3mZ9pQvT.gif",
  "gifUrl": "https://timers.flashtimer.com/xK3mZ9pQvT.gif",
  "expiresAt": "2026-11-27T23:59:00-05:00[America/New_York]"
}

expiresAt is null for an evergreen, recurring, cycle, count-up or dynamic timer, which has no single end date. (Evergreen timers used to send the placeholder 2099-01-01T00:00:00[UTC] here.)

WooCommerce

Connect your WooCommerce store to surface active sale end dates from your coupons directly in the timer editor. Instead of entering a deadline manually, pick a coupon and flashtimer fills it in automatically.

Every screen, with screenshots, is in the WooCommerce setup guide.

Setup

  1. In your WordPress admin go to WooCommerce → Settings → Advanced → REST API.
  2. Click Add key, set Permissions to Read/Write (writing is what lets flashtimer register the coupon webhooks that keep timers in sync), and click Generate API key.
  3. Copy the Consumer key and Consumer secret — they are shown only once.
  4. Enter your store URL (e.g. https://yourstore.com), Consumer key, and Consumer secret under Settings → Integrations → WooCommerce.

What it unlocks

  • Active coupons with a date_expires are listed in the timer editor under Pick a sale end date.
  • On-sale products (fetched via on_sale=true) are also surfaced alongside coupons, so you can link a timer to a product sale end date too.
  • A product with variations takes the soonest sale end among its variations on sale. A sale scheduled to start later is listed too, and its timer counts down to the start (stores of up to 1,000 products).
  • Select a coupon or product and the countdown deadline is set automatically.
  • Items with no expiry date are shown for reference but won't set a deadline.
  • Coupons made for one customer (a usage limit of 1, restricted to email addresses, or generated by a cart-recovery plugin) are left out and get no timer, unless you tick Include single-use coupons.
  • Stock Monitor (Business) reads a product's stock quantity, or the total of its variations, and can end a timer when it runs low. The product must have Track stock quantity switched on.
  • A coupon used as many times as its Usage limit per coupon allows counts as ended, whatever its expiry date says.

Example coupon response

[
  { "id": 101, "name": "Black Friday 20% Off", "date_expires": "2026-11-28T00:00:00Z" },
  { "id": 102, "name": "Cyber Monday Flash",   "date_expires": "2026-12-01T00:00:00Z" }
]

Automatic sync via webhooks

When you save your WooCommerce credentials, flashtimer automatically registers webhook listeners in your store for coupon.created, coupon.updated, coupon.deleted, and coupon.restored via the WooCommerce REST API. Each webhook is signed with a per-org HMAC-SHA256 secret that flashtimer generates automatically — no manual configuration needed.

It also registers product.created, product.updated, product.deleted, product.restored and, on WooCommerce 10.8 and later, product.published. WooCommerce saves a product on every order that changes its stock, so the Stock Monitor rechecks the product a delivery names (a variation's parent) as soon as it is saved, and a product with a sale on it has its sale read again. Two action topics, action.woocommerce_increase_coupon_usage_count and action.woocommerce_decrease_coupon_usage_count, tell flashtimer a coupon was used or a use was given back: a coupon used as many times as its usage limit allows has its timer archived, and brought back when an order that used it is cancelled. A delivery is a reason to read your store again, never the stock or the sale itself.

Enabling automation

Sync is on from the moment you connect. Under Settings → Integrations → WooCommerce you'll find three toggles under Automation:

  • Auto-create timers — a new timer is created when a coupon with a date_expires_gmt is added.
  • Auto-update timers — the linked timer is updated when the coupon's code or expiry changes.
  • Auto-archive timers — the timer is archived when the coupon is deleted, unpublished, expires or reaches its usage limit, and restored when it is un-deleted, published again, given a new expiry date or a use back.

flashtimer also checks your store every few minutes, which catches anything a delivery missed (WooCommerce never sends a failed delivery again) and a sale removed from a product altogether. Every hour it checks its webhooks under WooCommerce → Settings → Advanced → Webhooks, switches back on one WooCommerce disabled after failed deliveries, and puts back one that was deleted.

Webhooks are received at:

POST https://api.flashtimer.com/webhooks/woocommerce/{orgId}

The orgId is your organization's unique identifier — flashtimer uses it to look up your credentials and route the webhook to the correct account. It's included automatically in the webhook URL registered in your WooCommerce store.

PrestaShop

Connect a PrestaShop store (1.7, 8 or 9) to link cart rules and product discounts to countdown timers, and to end a timer early when a product sells out. flashtimer reads your shop over its webservice; nothing has to be installed for that.

Every screen, with screenshots, is in the PrestaShop setup guide.

Setup

  1. In your back office go to Advanced Parameters → Webservice and set Enable PrestaShop's webservice to Yes.
  2. Click Add new webservice key, generate a key and tick View (GET) on:
    • cart_rules, to read your rules.
      • configurations, to read your shop's time zone. Rule dates are times in that time zone.
      • For product discounts: specific_prices, specific_price_rules and products.
      • For Stock Monitor: products and stock_availables.
  3. Paste your shop's address and the key under Settings → Integrations → PrestaShop. A wrong address, a wrong key or a switched-off webservice is refused with a message that says which.

What it reads

  • Active cart rules, with their dates in your shop's time zone. One that hasn't started counts down to its start; one with no uses left counts as over.
  • A product's specific prices with an end date, as one sale per product, and each catalog price rule once, however many products it covers.
  • Cart rules limited to one customer (credit slips, loyalty and reminder vouchers) are left out, unless you tick Include single-customer vouchers.

Keeping timers in sync

Sync is off until you tick Auto-create, Auto-update or Auto-archive timers. flashtimer then checks your shop every few minutes. For changes within seconds, install the free module: download it from the PrestaShop dialog, upload it under Modules → Module Manager → Upload a module, and paste the webhook URL and signing secret into its settings. It sends, in one POST per page load, signed with HMAC-SHA256 over the timestamp and body, what changed: a cart rule or a product discount saved or deleted, a product's stock (from actionUpdateQuantity and the stock rows' saves), the cart rules an order used (actionValidateOrder), a deleted product, a saved time zone, and the module switched on or off. flashtimer reads the rest through your key. Version 1.1.0 added all but the rules and discounts: to upgrade from 1.0.0, download the module again and upload it the same way. No new webservice permission is needed.

Adobe Commerce (Magento)

Connect a Magento Open Source or Adobe Commerce store to link cart price rules to countdown timers, and to end a timer early when a product sells out. flashtimer reads your store over its REST API; nothing has to be installed for that.

Every screen, with screenshots, is in the Adobe Commerce setup guide.

Setup: Magento Open Source and Adobe Commerce (on-premises or cloud infrastructure)

  1. On Magento 2.4.4 or later, go to Stores → Configuration → Services → OAuth → Consumer Settings and set Allow OAuth Access Tokens to be used as standalone Bearer tokens to Yes. It is off by default, and until it is on your store refuses the token. From the command line: bin/magento config:set oauth/consumer/enable_integration_as_bearer 1.
  2. Go to System → Extensions → Integrations and click Add New Integration. Name it flashtimer.
  3. On its API tab choose Custom and allow:
    • Marketing → Promotions → Cart Price Rules, to read your rules.
      • Stores → Settings → All Stores, to read your store's time zone. Rule dates are days in that time zone.
      • For Stock Monitor: Catalog → Inventory → Products and Stores → Inventory (Sources and Stocks).
  4. Save, then click Activate and Allow. Copy the Access Token (not the consumer key or secrets).
  5. Enter your store URL (the address your storefront opens at, e.g. https://yourstore.com) and the access token under Settings → Integrations → Adobe Commerce (Magento). flashtimer tries the token before it saves, and says what to change if your store refuses it.
  6. Under Automation, turn on what flashtimer should do by itself: create a timer for each new rule, update a timer when its rule changes, archive it when the rule is switched off or deleted. Everything is off until you choose.

Setup: Adobe Commerce as a Cloud Service (beta)

Support for Cloud Service is in beta: tell us if anything looks off. Cloud Service stores have no integration tokens. In the Adobe Developer Console, create a project, add the Adobe Commerce as a Cloud Service API with an OAuth Server-to-Server credential, and connect with its client ID, client secret and organization ID. The store URL is your tenant's REST address, like https://na1.api.commerce.adobe.com/your-tenant-id. Leave the access token empty.

How it stays in sync

  • flashtimer checks your cart price rules every few minutes. A rule's To date is the end of that day in the time zone of the websites the rule applies to; a rule that hasn't started counts down to its From date first.
  • Rules with no end date are listed but can't set a deadline. Rules that have already ended aren't offered.
  • Stock Monitor counts what can still be bought (the salable quantity, with placed orders taken off), and a configurable product's stock is the total of its enabled options.
  • Connecting a different store later (moving from staging to live) unlinks the timers that followed the old store's rules, so they are never re-dated by another store's rule with the same number.

Instant updates with the flashtimer module (optional)

To have a saved rule reach your timers at once, and a stock or time zone change within a minute, rather than at the next check, install the flashtimer module (Magento Open Source and Adobe Commerce on-premises or on cloud infrastructure; Adobe Commerce as a Cloud Service runs no modules and is checked every few minutes). Download it, unzip it into app/code (it lands at app/code/Flashtimer/Sync and, for Inventory Management, app/code/Flashtimer/SyncInventory, which a store without Inventory Management deletes), then run:

bin/magento module:enable Flashtimer_Sync Flashtimer_SyncInventory
bin/magento setup:upgrade
bin/magento cache:flush

Updating from 1.0 is the same: replace the folder, run setup:upgrade (which adds the module's outbox table) and cache:flush, and setup:di:compile in production mode. Magento's cron must be running: the module writes stock changes to its table and its cron job sends them once a minute, so a checkout never waits on flashtimer.

In your store admin open Stores → Configuration → Services → flashtimer, paste the Webhook URL and signing secret shown on the integration in flashtimer, and set Enabled to Yes. Each POST is a JSON array of notices (topic batch), signed with HMAC-SHA256 over the timestamp and body:

  • sales_rule.created / updated / deleted: the rule's id, name, dates, active flag and websites. A save that only counts an order's use of the rule sends nothing.
  • stock.changed: the SKUs whose stock moved (orders placed, cancelled or refunded, stock edits, restocks, imports), a configurable product's own SKU with its options'; flashtimer rechecks the ones a Stock Monitor watches. product.deleted: deleted SKUs.
  • store.settings_changed: the time zone or the websites changed; flashtimer reads them again.
  • module.status: once a day, and when its settings are saved. A module unheard for two days shows as off in flashtimer's dialog.

No customer or order data is sent. A notice that can't be delivered is tried again later and never blocks a save or a checkout.

Squarespace

Connect a Squarespace store to link its discounts to countdown timers, and to end a timer early when a product sells out. flashtimer reads your store over Squarespace's Commerce APIs with a read-only key; nothing has to be installed.

Every step is in the Squarespace setup guide.

Setup

  1. In Squarespace open Settings → Developer tools → Developer API keys and click Generate key. The Commerce APIs come with the Core, Plus and Advanced plans.
  2. Set Discounts to Read only, to read your discounts, and Products to Read only, for Stock Monitor. A key's permissions can't be changed later, so give it both.
  3. Paste the key under Settings → Integrations → Squarespace. A wrong key, a key without Discounts, or a plan without the Commerce APIs is refused with a message that says which.

What it reads

  • Discounts that are running or scheduled, from GET /v1/commerce/discounts: codes and automatic discounts of every kind, with their exact start and end instants. One that hasn't started counts down to its start; one with no uses left counts as over.
  • Codes limited to one use in all are left out, unless you tick Include single-use codes.
  • Physical products and their variants' stock, from GET /v2/commerce/products, for Stock Monitor. A product is watched as a whole; one with an unlimited variant never ends a timer.
  • Not product sale prices: Squarespace gives them no start or end date, so there is nothing to count down to.

Keeping timers in sync

Sync is off until you tick Auto-create, Auto-update or Auto-archive timers. flashtimer then checks your store every few minutes. There is no faster path: Squarespace's webhooks cover orders and contacts, not discounts, and only OAuth apps may subscribe to them, not API keys. Requests carry a User-Agent header, which Squarespace requires, and stay well inside its limit of 300 requests a minute per key.

BigCommerce

Connect a BigCommerce store to link promotions and coupon codes to countdown timers, let flashtimer create, update and archive timers from them, and end a timer early when a product sells out. flashtimer reads your store with a read-only API account, and subscribes that account to the store's stock events; nothing is installed.

Every step is in the BigCommerce setup guide.

Setup

  1. In your control panel go to Settings → Store-level API accounts and click Create API account, with the token type V2/V3 API token.
  2. Set these OAuth scopes to read-only and leave the rest on None:
    • Marketing, to read promotions (v3) and coupon codes (v2);
      • Products, to read stock levels for Stock Monitor;
      • Information & Settings (optional), to read the store's name and time zone. BigCommerce doesn't let an API account's scopes change once it is saved; a missing one means a new account.
  3. Click Save and copy the Access token, which is shown once. The Store Hash is in the API path: https://api.bigcommerce.com/stores/{storeHash}/v3/ (pasting the whole API path works too).
  4. Enter both under Settings → Integrations → BigCommerce. flashtimer tries them before saving: a refused token (401), a store hash with no store (404) and a missing scope (403) each get their own message.

What it reads

  • Promotions from GET /v3/promotions, automatic and coupon: the status (ENABLED or not), start_date, end_date and uses. A single-code coupon promotion is listed by its code, and the code's own validity window counts when it has one.
  • Legacy coupon codes from GET /v2/coupons?exclude_type=promotion: enabled, expires (RFC 2822) and uses. The promotion type is left out: those are the v3 coupon promotions' codes again.
  • A promotion that hasn't started counts down to its start; one switched off, invalid, used up or past its end is over. A coupon with max_uses: 1 is left out unless Include single-use coupons is ticked.
  • Stock from GET /v3/catalog/products?include=variants: the product's level when tracked by product, the variants added up when tracked by variant.

Sync

BigCommerce has no webhook for promotions or coupons, so flashtimer reads the store every few minutes and applies your Auto-create, Auto-update and Auto-archive choices, all off until you turn them on. It waits out the store's rate limit (429 with X-Rate-Limit-Time-Reset-Ms) rather than failing. Timers carry the promotion as promotion-<id> or coupon-<id>.

Stock webhooks

When your store connects, flashtimer creates hooks under the API account (POST /v3/hooks, which every API account may use) for store/product/inventory/updated, store/product/inventory/order/updated, store/sku/inventory/updated, store/sku/inventory/order/updated and store/sku/deleted, so the Stock Monitor rechecks the product a delivery names as soon as its stock changes. Where the account may have it, store/order/created reads your promotions again when Auto-archive is on, so one that reaches its usage limit is archived without waiting for the next check. They deliver to https://api.flashtimer.com/webhooks/bigcommerce/{orgId} with two headers of flashtimer's own, X-Flashtimer-Topic and X-Flashtimer-Secret, and a delivery counts only when its secret matches and its producer is your store. A delivery is a reason to read the store again, never the stock itself.

You see them in BigCommerce under the API account's webhooks, or with GET /v3/hooks and its token. flashtimer checks them every hour and puts back one that is missing or that BigCommerce switched off after failed deliveries; disconnecting deletes them, and deleting the API account deletes them too. Promotions have no BigCommerce event, so they stay on the check every few minutes, which also covers stock whenever a delivery doesn't arrive.

Example promotions response

{
  "data": [
    {
      "id": 7,
      "name": "Black Friday 20% off",
      "redemption_type": "COUPON",
      "coupon_type": "SINGLE",
      "codes": { "code": "BF20", "max_uses": 0, "current_uses": 12 },
      "status": "ENABLED",
      "start_date": "2026-11-27T05:00:00+00:00",
      "end_date": "2026-12-01T04:59:59+00:00"
    }
  ],
  "meta": { "pagination": { "current_page": 1, "total_pages": 1 } }
}

Other email platforms

These platforms work the same way as Klaviyo or Mailchimp above: connect them under Settings → Integrations with the credentials the dialog asks for, then open a timer's Send to ESP panel, pick a campaign (a draft, or a scheduled one where the platform lets it be changed) or a template and click Embed Timer.

HubSpot, Postmark, Mailjet, Marketo, Amazon SES.

For these, copy the timer's ready-made HTML snippet from Embed in the timer editor and paste it into your campaign: Campaign Monitor, ConvertKit, Iterable, Beehiiv, SendGrid, Mailgun, MoEngage, Pardot, AWeber, Braze, Customer.io, Bloomreach, CleverTap, Keap, Emma, Zoho Campaigns, Retention.com.

Any other email platform works too: copy the timer's image URL or HTML from Embed in the timer editor and paste it into an image or HTML block.

curl https://api.flashtimer.com/v1/timers \
  -H "Authorization: Bearer ft_live_4f9c2a1b..."