Skip to content
Venueclock
ProductPricingCompareAPIContact
Sign inStart free
  • Product
  • Run-of-show software
  • Confidence monitor
  • Pricing
  • Stream Deck and Companion
  • API and webhooks
  • Venueclock vs Stagetimer
  • Venueclock vs Ontime
  • Free timers
  • Docs
  • About
  • Contact
Sign in

HTTP API and webhooks

Read a show and run it from your own scripts, a show-control system or Bitfocus Companion, with the same commands the controller uses. Webhooks tell your systems when timers start and stop, when a show goes live and when a message goes up.

Last updated 3 December 2026 · By Tomer Gal, founder

On this page

  1. The short version
  2. API tokens
  3. Requests and answers
  4. Read a show
  5. Control a show
  6. Messages
  7. Live updates
  8. Errors
  9. Rate limits
  10. From a browser
  11. Webhooks
  12. Verifying a webhook
  13. MCP server for AI agents
  14. Plans
  15. Not in the API yet

The short version

  • The API lives at https://venueclock.com/api/v1 and speaks JSON. Every request carries an API token in the Authorization header.
  • Create tokens in the app under Account, then API and webhooks. A token can be read-only, and can be limited to one show.
  • Commands run exactly like a click in the controller: every connected screen follows within the same second, and the run log records them.
  • Each token can make 300 reads and 300 commands a minute. The API is on every plan, Free included.
  • Webhooks send signed JSON to your HTTPS address when something happens in a show. They come with the paid plans and passes.

API tokens

Sign in, open Account, then API and webhooks, and create a token. Give it a name you will recognize later, choose whether it can control shows or only read them, and choose all your shows or one. Venueclock shows the token once: copy it then. We keep only a SHA-256 hash of it, so nobody can show it to you again, us included.

  • Tokens start with vc_live_, so secret scanners and your own eyes can spot one in a log or a repository.
  • Send it on every request as Authorization: Bearer vc_live_.... The API reads no cookies and accepts a token nowhere else, not in the address and not in the body.
  • A token acts for your account. Anyone who has it can do what it allows, so keep it like a password. Revoke it from the same page and it stops working on the next request.
  • An account holds up to 10 tokens. The page shows when each one was last used.

Requests and answers

  • Every answer is JSON with "ok": true or "ok": false. Times are ISO 8601 in UTC, and durations are whole milliseconds in fields that end in Ms.
  • Commands answer with the show's new state, the same shape as reading the show, so you never need a second request to see what changed.
  • Request bodies are JSON objects (send Content-Type: application/json). Commands without options need no body.
  • Ids come from the API: shw_... for shows, tmr_... for timers and msg_... for saved messages. A show's id is also the last part of its address in the app.

Read a show

GET/api/v1/shows

The shows this token reaches, most recently changed first.

GET/api/v1/shows/{id}

Everything a screen knows about the show right now: the current, next and previous timer, the time left, the message on screen and whether the show is live.

List your shows

curl https://venueclock.com/api/v1/shows \
  -H "Authorization: Bearer $VENUECLOCK_TOKEN"
{
  "ok": true,
  "shows": [
    {
      "id": "shw_Vb2QeXk1rT9mHc0a",
      "title": "Product summit, main stage",
      "timers": 12,
      "totalMs": 23400000,
      "live": true,
      "updatedAt": "2026-12-02T09:41:07.000Z"
    }
  ]
}

Read one show

curl https://venueclock.com/api/v1/shows/shw_Vb2QeXk1rT9mHc0a \
  -H "Authorization: Bearer $VENUECLOCK_TOKEN"
{
  "ok": true,
  "serverTime": "2026-12-02T09:42:00.000Z",
  "show": {
    "id": "shw_Vb2QeXk1rT9mHc0a",
    "title": "Product summit, main stage",
    "timezone": "Europe/London",
    "version": 418,
    "live": true,
    "liveSince": "2026-12-02T09:00:12.000Z",
    "startsAt": "2026-12-02T09:00:00.000Z",
    "endsBy": "2026-12-02T15:30:00.000Z",
    "projectedEnd": "2026-12-02T15:32:00.000Z",
    "overUnderMs": 120000,
    "autoArmed": true,
    "nextAutomatic": {
      "kind": "linked",
      "at": "2026-12-02T09:46:05.000Z",
      "timerId": "tmr_7fJr2NnA0xWd",
      "title": "Panel"
    }
  },
  "current": {
    "id": "tmr_Q3kM8vYw2LpZ",
    "index": 2,
    "title": "Opening keynote",
    "speaker": "Dana Levi",
    "appearance": "countdown",
    "overtime": "count",
    "durationMs": 1200000,
    "addedMs": 60000,
    "totalMs": 1260000,
    "status": "running",
    "state": "running",
    "remainingMs": 245000,
    "elapsedMs": 1015000,
    "overrunMs": 0,
    "over": false,
    "display": "4:05",
    "endsAt": "2026-12-02T09:46:05.000Z",
    "wrapUpMs": 120000,
    "redMs": 0,
    "startedAt": "2026-12-02T09:25:05.000Z"
  },
  "next": { "id": "tmr_7fJr2NnA0xWd", "index": 3, "title": "Panel", "speaker": "", "durationMs": 1800000 },
  "previous": { "id": "tmr_Hc4sP0bT6yQe", "index": 1, "title": "Welcome", "speaker": "", "durationMs": 300000 },
  "message": {
    "id": "msg_c1L0aXr5Wq8E",
    "text": "Please wrap up",
    "color": "amber",
    "shownAt": "2026-12-02T09:41:50.000Z",
    "acknowledgedAt": null,
    "acknowledgedBy": null
  },
  "messages": [{ "id": "msg_c1L0aXr5Wq8E", "text": "Please wrap up", "color": "amber" }],
  "screens": {
    "language": "en",
    "blackout": { "speaker": null, "agenda": null, "overlay": null }
  },
  "timers": [
    {
      "id": "tmr_Hc4sP0bT6yQe",
      "index": 1,
      "title": "Welcome",
      "speaker": "",
      "durationMs": 300000,
      "appearance": "countdown",
      "hardStartAt": null,
      "locked": false,
      "autoNext": true,
      "autoStart": false,
      "heading": "Morning session",
      "newDay": false,
      "startedAt": "2026-12-02T09:19:40.000Z",
      "endedAt": "2026-12-02T09:25:05.000Z"
    }
  ]
}

The fields that matter most

current.status

idle (ready, not started), running or paused.

current.state

What the screens show: ready, running, warn (the amber wrap-up window, wrapUpMs before zero), over (red) or paused.

current.remainingMs

Time left when the answer was made; negative once the timer runs over, with overrunMs and over saying the same. While it runs, endsAt is the moment it reaches zero, so you can count down locally between requests.

current.display

The readout as the speaker screen shows it, for example 4:05 or +0:12 over time.

show.live

True while the show is on air.

show.overUnderMs

How far the projected end is from the planned end: positive when the show runs late, negative when it runs early, null without a planned end.

show.autoArmed

True while scheduled starts are on: rows marked to start by themselves at their hard start do so. Going live turns it on; ending the show, or the switch in the controller, turns it off.

show.nextAutomatic

The next timer that starts without anyone pressing a button, or null: kind is linked (the timer on air hands over at zero) or scheduled (a hard start), with at, timerId and title. A linked handover moves with time added live, and waits while the timer is paused.

timers[].autoNext, autoStart, heading, newDay

autoNext: the row starts the next one when it reaches zero. autoStart: the row starts by itself at its hardStartAt while the show is armed. heading: the section it opens, or null. newDay: it opens a new day of a multi-day show, on the date of its hardStartAt.

message

The message on the speaker screen, or null.

screens

language is the screens' display language (en, es, de, fr, pt, it, nl, he, ar or ja). blackout says, for the speaker, agenda and overlay links, whether their screens are black, show the message only, or are on: null.

Control a show

Each command is a POST and needs a token that can control shows. It answers with the show's new state.

POST/shows/{id}/start

Starts the current timer, or resumes it when paused. /resume does the same.

POST/shows/{id}/pause

Pauses the running timer.

POST/shows/{id}/toggle

Pauses when running, starts or resumes otherwise. One button for both.

POST/shows/{id}/stop

Stops the current timer and puts its full time back. /reset does the same.

POST/shows/{id}/next

Moves to the next timer. If a timer is running, the next one starts at once; otherwise it waits, ready.

POST/shows/{id}/previous

Moves back to the previous timer, the same way.

POST/shows/{id}/time

Adds time to the current timer, or removes it with a negative number. Body: {"seconds": 60} or {"deltaMs": -30000}.

POST/shows/{id}/flash

Flashes the speaker screen to catch the speaker's eye.

POST/shows/{id}/end

Ends the running timer and takes the show off air.

POST/shows/{id}/blackout

Blacks out screens, like Black out in the controller. Body: "mode" is black (the default), message (only the message on air), off (screens back) or toggle (back when any of them is out, black otherwise), and "roles" is an optional list of speaker, agenda and overlay (all three when left out). The moderator screen never goes out, and timers keep running underneath.

POST/shows/{id}/timers/{timerId}/start

Jumps to a timer and starts it.

POST/shows/{id}/timers/{timerId}/goto

Makes a timer current. If another timer is running, this one starts at once; otherwise it waits, ready.

All paths start with /api/v1. Starting a timer takes the show live, which counts toward your plan's live rooms exactly as it does from the controller.

Start, add a minute, jump to a timer

curl -X POST https://venueclock.com/api/v1/shows/shw_Vb2QeXk1rT9mHc0a/start \
  -H "Authorization: Bearer $VENUECLOCK_TOKEN"
curl -X POST https://venueclock.com/api/v1/shows/shw_Vb2QeXk1rT9mHc0a/time \
  -H "Authorization: Bearer $VENUECLOCK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"seconds": 60}'
curl -X POST https://venueclock.com/api/v1/shows/shw_Vb2QeXk1rT9mHc0a/timers/tmr_7fJr2NnA0xWd/start \
  -H "Authorization: Bearer $VENUECLOCK_TOKEN"

From JavaScript

const res = await fetch('https://venueclock.com/api/v1/shows/shw_Vb2QeXk1rT9mHc0a/next', {
  method: 'POST',
  headers: { Authorization: `Bearer ${token}` },
});
const body = await res.json();
if (!body.ok) throw new Error(body.message);
console.log(body.current?.title, body.current?.display);

Messages

POST/shows/{id}/message

Puts a message on the speaker screen. Send text (up to 280 characters) with an optional color (default, go, amber or red), or the id of one of the show's saved messages. Add "flash": true to flash the screen as it appears.

DELETE/shows/{id}/message

Takes the message off the screen.

curl -X POST https://venueclock.com/api/v1/shows/shw_Vb2QeXk1rT9mHc0a/message \
  -H "Authorization: Bearer $VENUECLOCK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text": "Please wrap up", "color": "amber", "flash": true}'
curl -X DELETE https://venueclock.com/api/v1/shows/shw_Vb2QeXk1rT9mHc0a/message \
  -H "Authorization: Bearer $VENUECLOCK_TOKEN"

Errors

Every error has the same shape: a stable error code for your code, and a message for a person.

{
  "ok": false,
  "error": "read_only",
  "message": "This API token can read shows but not control them."
}
400 invalid_json

The body is not a JSON object.

401 unauthorized

No token, a mistyped token, or a revoked one.

403 read_only

The token can read but not control.

404 not_found

No such endpoint, or no show with this id for this token: another account's show and a show outside the token's limit look the same. no_timer and no_message mean the timer or saved message is gone.

409 live_limit

Starting would put more rooms on air than your plan runs at once. End another show first.

409 empty

The show has no timers yet.

413 too_large

The body is over the size limit.

422 invalid

A field is missing or out of range; the message names it.

429 rate_limited

Too many requests. Wait for Retry-After seconds.

500 server

Our fault. Try again; nothing changed.

Rate limits

  • 300 reads and 300 commands a minute per token, each counted on its own, so polling a show never uses up the budget for your button presses. A GET is a read; a POST or DELETE is a command.
  • 600 reads and 600 commands a minute per IP address, checked before the token, so guessing tokens is slow.
  • 30 messages a minute per show, the same limit as the controller.

Past a limit the API answers 429 with Retry-After (seconds) and X-RateLimit-Limit. Reading a show once a second uses 60 reads a minute. To see changes as they happen, follow the live updates instead, and count down locally from current.endsAt.

Live updates

GET/api/v1/shows/{id}/events

The show's state as server-sent events: the same body as reading the show, sent when you connect and again every time something changes, from any controller, screen or API client.

  • state carries the show; its id is the show's version. Reconnect with Last-Event-ID set to the last id you saw and you get no repeat when nothing changed.
  • ping arrives every 15 seconds, so a connection that has heard nothing for 40 seconds is gone: reconnect.
  • reconnect means we are restarting a server; connect again. revoked (the token was revoked) and gone (the show was deleted or is out of the token's reach) end the stream for good.
  • Opening a stream counts as one read. A token can hold up to 10 streams at once; past that the API answers 429 too_many_streams.

Follow a show

curl -N https://venueclock.com/api/v1/shows/shw_Vb2QeXk1rT9mHc0a/events \
  -H "Authorization: Bearer $VENUECLOCK_TOKEN"

What arrives

retry: 3000

event: state
id: 418
data: {"ok":true,"serverTime":"2026-12-02T09:42:00.000Z","show":{"id":"shw_Vb2QeXk1rT9mHc0a","version":418,...}}

event: ping
data: {"serverTime":"2026-12-02T09:42:15.000Z"}

Browsers' EventSource cannot send an Authorization header, so read the stream with fetch or an SSE library that can.

From a browser

The API allows requests from any origin (Access-Control-Allow-Origin: *) and answers preflight requests, because it authenticates only with the token you send. It never reads your Venueclock sign-in cookie, so another website cannot use your session to run your show. That also means a token in a public web page is a token anyone can copy: in a page others can open, use a read-only token limited to one show.

Webhooks

Add a webhook under Account, then API and webhooks: an HTTPS address, all your shows or one, and the events you want (all of them if you pick none). Venueclock shows the signing secret, which starts with whsec_, once. Send a test event from the same page to check your receiver.

timer.started

A timer started, from the start, the next or a jump to a timer.

timer.paused

The running timer paused.

timer.resumed

A paused timer runs again.

timer.stopped

A timer stopped: data.reason is ended (moved on, or the show ended) or reset.

timer.adjusted

Time was added or removed: data.deltaMs.

timer.finished

A running timer reached zero (data.endedAt). It goes out within a few seconds of zero, and again if time is added and the timer reaches zero a second time.

show.live

The show went on air.

show.ended

The show was ended.

message.set

A message went up on the speaker screen: data.message has its text and colour.

message.cleared

The message came down.

ping

The test event from the account page.

What arrives

One POST per event, with a JSON body. timer is the timer the event is about, or null.

POST /your/endpoint HTTP/1.1
Content-Type: application/json
User-Agent: Venueclock-Webhooks/1.0 (+https://venueclock.com/integrations/api)
Venueclock-Event: timer.started
Venueclock-Event-Id: evt_kP0f3XcQ9vRb2LmA
Venueclock-Delivery: 81723
Venueclock-Signature: t=1796203505,v1=5f8a0c...e41b
{
  "id": "evt_kP0f3XcQ9vRb2LmA",
  "type": "timer.started",
  "createdAt": "2026-12-02T09:25:05.000Z",
  "show": { "id": "shw_Vb2QeXk1rT9mHc0a", "title": "Product summit, main stage", "live": true },
  "timer": {
    "id": "tmr_Q3kM8vYw2LpZ",
    "index": 2,
    "title": "Opening keynote",
    "speaker": "Dana Levi",
    "durationMs": 1200000
  },
  "data": {}
}

Delivery and retries

  • Answer with any 2xx within 5 seconds. Redirects are not followed and count as a failure.
  • A failed delivery is tried again after 10 seconds, 30 seconds, 2 minutes, 10 minutes, 30 minutes, 1 hour and 3 hours: 8 tries over about 5 hours. The account page lists recent deliveries and their results.
  • When 20 events in a row fail every try, the webhook is paused: it stops queuing events, and the ones still waiting are dropped, so resuming it from the account page never sends a stale event. Pausing it yourself does the same.
  • Delivery is at least once, and events can arrive out of order when one is retried. Use Venueclock-Event-Id (the same as id in the body) to skip a repeat, and createdAt to order them.
  • Addresses must be public HTTPS. Venueclock refuses private, loopback, link-local and cloud metadata addresses, also when a name resolves to one at delivery time.
  • An account holds up to 5 webhooks.

Verifying a webhook

Every delivery carries Venueclock-Signature: t=<unix seconds>,v1=<signature>. The signature is the hex HMAC-SHA256 of the timestamp, a dot and the raw body, keyed with your webhook's secret. To check it:

  1. Read the raw body before parsing it: parsing and printing JSON again changes the bytes.
  2. Compute HMAC-SHA256 of t + "." + body with your secret, as hex.
  3. Compare it with v1 in constant time.
  4. Refuse timestamps more than 5 minutes from your clock, so an old delivery cannot be replayed.

Node.js

import { createHmac, timingSafeEqual } from 'node:crypto';

// rawBody: the request body exactly as received, before any JSON parsing.
export function verifyVenueclock(rawBody, header, secret, toleranceSeconds = 300) {
  const parts = Object.fromEntries(
    String(header ?? '')
      .split(',')
      .map((part) => part.trim().split('=', 2)),
  );
  const timestamp = Number(parts.t);
  if (!Number.isInteger(timestamp) || !/^[0-9a-f]{64}$/.test(parts.v1 ?? '')) return false;
  if (Math.abs(Date.now() / 1000 - timestamp) > toleranceSeconds) return false;
  const expected = createHmac('sha256', secret).update(`${timestamp}.${rawBody}`).digest();
  return timingSafeEqual(expected, Buffer.from(parts.v1, 'hex'));
}

Express

import express from 'express';

const app = express();
app.post('/venueclock', express.raw({ type: 'application/json' }), (req, res) => {
  const ok = verifyVenueclock(req.body.toString('utf8'), req.get('Venueclock-Signature'), process.env.VENUECLOCK_WEBHOOK_SECRET);
  if (!ok) return res.sendStatus(400);
  const event = JSON.parse(req.body);
  // Deliveries can repeat: skip an event.id you have already handled.
  res.sendStatus(204);
});

Python

import hashlib, hmac, time

def verify_venueclock(raw_body: bytes, header: str, secret: str, tolerance: int = 300) -> bool:
    parts = dict(p.strip().split("=", 1) for p in (header or "").split(",") if "=" in p)
    try:
        timestamp = int(parts["t"])
    except (KeyError, ValueError):
        return False
    if abs(time.time() - timestamp) > tolerance:
        return False
    signed = f"{timestamp}.".encode() + raw_body
    expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, parts.get("v1", ""))

MCP server for AI agents

Venueclock runs a remote Model Context Protocol server, so an AI agent such as Claude, Cursor, GitHub Copilot or one you build on the OpenAI API can read your shows, run them and edit the rundown in plain language: "add five minutes to the keynote", "move the panel after lunch", "tell the speaker to wrap up".

  • The server is at https://venueclock.com/api/mcp and speaks Streamable HTTP. It authenticates with an API token in the Authorization header, exactly like the HTTP API, and nothing else.
  • A read-only token gets the reading tools only. A token limited to one show reaches that show only. For an agent, a token limited to one show is the safer start.
  • Every tool runs through the same code as the HTTP API: the same plan limits, checks and run log, and webhooks fire as usual. Each request to the server counts as one read, and each tool that changes a show also counts as one command, in the same per-token budgets as HTTP; the 30 messages a minute per show apply too.
  • Commands act on the live show at once. Most agents ask before running a tool that changes something; keep that on for a show that is running.
list_shows

The shows the token reaches, with their ids.

get_show_state

The live state of a show, the same as reading it over HTTP, with every row and its id.

start_timer

Start or resume, or start a given row.

pause_timer

Pause the running timer.

reset_timer

Stop and reset the current timer.

next_timer, previous_timer

Move through the rundown.

cue_timer

Make a row the current one without starting it.

add_time

Add or remove time on the current timer.

send_message, hide_message

Put a message on the speaker screens, or take it down.

flash_screens

Flash every screen to catch the speaker’s eye.

blackout_screens

Black out the screens, or only the timer, and bring them back.

end_show

End the show.

add_rundown_row, update_rundown_row

Add a row, or change its title, speaker, length, fixed start time or wrap-up and red times.

move_rundown_row, delete_rundown_row

Reorder the rundown, or remove a row.

Claude Code

claude mcp add --transport http venueclock https://venueclock.com/api/mcp \
  --header "Authorization: Bearer $VENUECLOCK_TOKEN"

Claude Desktop (claude_desktop_config.json, through mcp-remote)

{
  "mcpServers": {
    "venueclock": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://venueclock.com/api/mcp", "--header", "Authorization:${AUTH_HEADER}"],
      "env": { "AUTH_HEADER": "Bearer vc_live_..." }
    }
  }
}

VS Code and GitHub Copilot (.vscode/mcp.json)

{
  "servers": {
    "venueclock": {
      "type": "http",
      "url": "https://venueclock.com/api/mcp",
      "headers": { "Authorization": "Bearer ${input:venueclock-token}" }
    }
  },
  "inputs": [
    { "id": "venueclock-token", "type": "promptString", "description": "Venueclock API token", "password": true }
  ]
}

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "venueclock": {
      "url": "https://venueclock.com/api/mcp",
      "headers": { "Authorization": "Bearer ${env:VENUECLOCK_TOKEN}" }
    }
  }
}

OpenAI Responses API (POST https://api.openai.com/v1/responses)

{
  "model": "gpt-5",
  "tools": [
    {
      "type": "mcp",
      "server_label": "venueclock",
      "server_url": "https://venueclock.com/api/mcp",
      "authorization": "vc_live_...",
      "require_approval": "always"
    }
  ],
  "input": "How long is left on the current timer in my main stage show?"
}

ChatGPT's own connectors sign in with OAuth or without authentication, and do not take an API token yet, so connect ChatGPT through the OpenAI API as above until they do.

Plans

  • The API is on every plan, Free included, because the Bitfocus Companion module runs on it. Plan limits still apply: a command that would put more rooms live than your plan runs at once gets 409 live_limit.
  • Webhooks need an active paid plan or pass, from the Event Pass up. When a pass ends, new events stop being sent; your webhooks stay saved for the next one. See pricing.

Not in the API yet

  • OSC control. It runs on the venue network through Venueclock Bridge, not through this API.
  • Changing screen options or the screen language. Set them in the controller; the state tells you the language and which screens are blacked out.
  • Linking timers, scheduled starts, section headings and new days, and the scheduled-starts switch. Set them in the controller; the state shows them all.
  • Editing the rundown (adding, changing or reordering timers) over HTTP. AI agents can already do it through the MCP server.

Need one of these, or something else? Write to hello@venueclock.com.

Venueclock

Venueclock runs in any modern browser. The free plan needs no card.

Product

  • Online stage timer
  • Run-of-show software
  • Confidence monitor timer
  • Free timers
  • Free presentation countdown timer
  • Keeps counting offline
  • Live rundown rebalancing
  • Speaker messages
  • Role views and links
  • Pricing

Use cases

  • Conferences
  • Churches
  • Broadcast and streaming
  • Esports
  • Corporate events
  • Education and debate

Integrations

  • All integrations
  • Bitfocus Companion and Stream Deck
  • Stream Deck timer
  • OBS countdown overlay
  • vMix countdown timer
  • NDI via OBS and DistroAV
  • ProPresenter
  • HTTP API and webhooks

Compare

  • All comparisons
  • Best stage timer software
  • Stagetimer alternatives
  • Venueclock vs Stagetimer
  • Venueclock vs Ontime
  • Venueclock vs CueTimer
  • Venueclock vs Limitimer

Resources

  • Docs
  • Live event glossary
  • Run-of-show templates
  • Changelog
  • Fact sheet
  • Status

Company

  • Security
  • Accessibility statement
  • About
  • Contact
  • Privacy policy
  • Data processing addendum
  • Terms of service