Skip to main content
Docs/REST Push API & Webhooks

REST Push API & Webhooks

Flip any paired TV with a single JSON webhook — no SDK required. Ideal for Stripe sales alerts, Zapier, Make, n8n, Apple Shortcuts / Siri, Home Assistant, and CI/CD deploy pipelines.

POSThttps://flaps.tv/api/v1/displays/{displayId}/message

Authenticate with your workspace Bearer key generated inside Dashboard → AI & Bots: Authorization: Bearer flp_live_...

Request examples

curl -X POST "https://flaps.tv/api/v1/displays/YOUR_BOARD_ID/message" \
  -H "Authorization: Bearer flp_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message": "SOLD OUT: CROISSANTS", "pinMinutes": 45}'

JSON body parameters

message

string

Plain text to auto-wrap and center across the display's grid (e.g. "WELCOME MAYA & LEO"). Optional if lines is provided.

lines

Array<{ text, alignment?, color? }>

Exact row-by-row content with optional alignment ("left" | "center" | "right") and hex ink color.

pinMinutes

number (1–1440)

Pin this message on the wall for N minutes before automatically returning to the board's scheduled scene rotation.

pin

boolean (default true)

Set to false to update scene text in place without pinning the scene.

clearPin

boolean

Send { "clearPin": true } to release any active pin and resume the board's normal schedule.

sceneId

string

Optional existing scene ID to overwrite instead of pushing to the board's active/pinned scene.

Status codes

  • 200 OK — Board updated & paired TVs notified
  • 400 — Missing message / invalid JSON payload
  • 401 — Invalid or revoked Bearer key
  • 402 — Plan requires Pro, Connected, or active trial
  • 404 — Board ID not found in this workspace
  • 429 — Rate limit exceeded (burst protection)

Need multi-step AI agent control?

If your assistant supports MCP (ChatGPT, Grok, Claude, Cursor, Codex, OpenClaw), connect our hosted Streamable HTTP MCP server so the bot can also list boards, read scenes, and switch materials.

Read AI Bots & MCP docs