PingBell
API

PingBell API

Everything you can do to get a live board onto a TV, as an API: create data sources, send events, make boards and change what they say, pair screens and choose what each one shows. Use it from your own code, from an AI assistant, or from Zapier. All three are built on the same 12 actions.

Quick start

Get your API key in PingBell under Settings, API key. A new account already has its first board, a sales counter. Three calls put it on a TV, counting your own numbers.

  1. 1. Create a data source, named for what it counts. Your first board starts counting it.

    curl -X POST "https://my.pingbell.io/api/v1/sources" \
      -H "x-api-key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"name":"PayPal sales"}'
  2. 2. List your boards to get the board’s id.

    curl "https://my.pingbell.io/api/v1/boards" \
      -H "x-api-key: YOUR_API_KEY"
  3. 3. Pair a screen. Open the free PingBell app on any TV, or my.pingbell.io/pair in any browser, and send the 6-character code it shows.

    curl -X POST "https://my.pingbell.io/api/v1/screens" \
      -H "x-api-key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"code":"K7M2QX","board_id":"BOARD_ID"}'

From then on, every event you send to the source counts on the board within seconds, on every screen showing it.

curl -X POST "https://my.pingbell.io/api/v1/sources/SOURCE_ID/events" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount":49.5,"currency":"USD","transaction_id":"order-1042"}'

Want another board? Create one from a template, up to the number your plan includes.

Authentication

Every request carries your API key, as an x-api-key header or as Authorization: Bearer YOUR_API_KEY. The key acts as you, in the workspaces you belong to. Keep it out of web pages and public code. If it leaks, replace it under Settings, API key: the old key stops working at once.

The base address is https://my.pingbell.io/api/v1. A GET takes its inputs in the query string. Every other method takes a JSON object as its body. Answers are JSON.

Workspaces

Every action but list_workspaces runs in one workspace. Most accounts have one, and you never have to name it. With more than one, name the workspace on each call: an x-pingbell-workspace header, a ?workspace= query value, or "workspace" in the body. Leave it out and the answer is a workspace_required error that lists your workspaces with their ids.

Errors and limits

A refusal is a JSON object with an error code and a message written to be shown to a person or handed to an AI assistant. Some carry more, like the list of workspaces to choose from.

{
  "error": "source_not_found",
  "message": "This workspace has no data source with that id. list_sources shows the ones it has."
}
Status Code Meaning
401 unauthenticated The key is missing or not valid.
400 workspace_required The account has more than one workspace and none was named. The answer lists them.
404 workspace_not_found The key has no workspace with that id.
400 missing_field, invalid_field, unknown_field An input is missing, has the wrong form, or is not one the action takes. A misspelled name is refused, never ignored.
400 invalid_json The body is not a JSON object.
404 source_not_found, board_not_found, screen_not_found, template_not_found, code_not_found There is no such thing in this workspace.
400 unknown_words, too_long, empty_words A change to a board’s words that cannot be made. Nothing is changed.
409 board_limit, screen_limit The workspace’s plan includes no more of these.
403 plan_required The workspace has no active plan.
409 source_archived, not_editable, name_unavailable, no_workspace The thing exists but cannot take this action as it stands.
405 method_not_allowed The address does not take that method. The Allow header lists the ones it does.
413 too_large The body is larger than 64 KB.
422 event_refused The event was not accepted as sent.
429 rate_limited Too many requests. Wait a few minutes.
404 not_found There is no such address.
500, 503 server_error, ingest_unavailable A fault on PingBell’s side. A read is safe to repeat. Before repeating anything else, check whether it already took effect: a create can fail after it has created.

Limits: 3,000 requests per 10 minutes per person, 20 pairing attempts per 10 minutes, and a body of at most 64 KB. Send a transaction_id with an event that has an amount above zero, and sending it twice counts it once, so a retry is safe.

Account

Which workspaces the key can act in.

List workspaces

GET /api/v1/workspaces

Lists the PingBell workspaces this account belongs to. Most accounts have one and never need this; with several, pass a workspace's id as the workspace field of any other action.

Takes no inputs.

Example

curl "https://my.pingbell.io/api/v1/workspaces" \
  -H "x-api-key: YOUR_API_KEY"

Answer

{
  "workspaces": [
    {
      "id": "nlerCmFI1oMfVWtseynj",
      "name": "Corner Bakery"
    }
  ]
}

As an MCP tool: list_workspaces

Data sources and events

A data source is something a board counts, like PayPal sales or new leads. An event is one of them happening.

List data sources

GET /api/v1/sources

Lists the workspace's data sources: the named streams of events (sales, leads, signups) that boards count. Use it to find a source's id before sending it an event.

Takes no inputs.

Example

curl "https://my.pingbell.io/api/v1/sources" \
  -H "x-api-key: YOUR_API_KEY"

Answer

{
  "sources": [
    {
      "id": "uFpn3E24bDxAIDwgFjoR",
      "name": "PayPal sales",
      "provider": "webhook"
    }
  ]
}

As an MCP tool: list_sources

Create a data source

POST /api/v1/sources

Creates a data source to send events to, named for what it counts (for example "PayPal sales"). Safe to repeat: if the workspace already has a source with that name, that one is returned and nothing new is made.

Input What it is
name required text, in the JSON body What the source counts, as it should read on a board: "PayPal sales", "New leads".

Example

curl -X POST "https://my.pingbell.io/api/v1/sources" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"PayPal sales"}'

Answer

{
  "id": "uFpn3E24bDxAIDwgFjoR",
  "name": "PayPal sales",
  "provider": "webhook",
  "created": true
}

As an MCP tool: create_source

Send an event to a data source

POST /api/v1/sources/{source_id}/events

Records one event on a data source, for example a sale or a new lead. Boards showing that source count it and celebrate it on every screen within seconds. Give an amount when the event is worth money.

Input What it is
source_id required text, in the address The data source's id, from list_sources or create_source.
amount number, in the JSON body What the event is worth in whole currency units, with no currency sign: 49.99. Kept to the cent. Leave it out for an event with no value.
currency text, in the JSON body Three-letter currency code of the amount, like USD.
transaction_id text, in the JSON body The event's id in the system it came from. For an event with an amount, the same id sent twice is counted once, so a retry is safe.
customer_name text, in the JSON body Who it is from, shown on boards that name the customer.
customer_email text, in the JSON body The customer's email, for boards and alerts that show it.
rep_name text, in the JSON body The team member to credit; feeds leaderboards grouped by rep.
fields object of text values, in the JSON body Any other facts about the event as name and text pairs, for sources that group or filter by them: {"product": "Blue mug"}. Not for the amount, currency or transaction id, which have their own inputs.

Example

curl -X POST "https://my.pingbell.io/api/v1/sources/uFpn3E24bDxAIDwgFjoR/events" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount":49.5,"currency":"USD","transaction_id":"order-1042","customer_name":"Dana","fields":{"product":"Blue mug"}}'

Answer

{
  "ok": true,
  "source": {
    "id": "uFpn3E24bDxAIDwgFjoR",
    "name": "PayPal sales",
    "provider": "webhook"
  }
}

As an MCP tool: send_event

Boards

A board is a page made to be shown on a TV. Make one from a template and change what it says.

List board templates

GET /api/v1/board-templates

Lists the ready-made boards a new board can be made from: sales counters, goal bars, leaderboards, menus, announcements, countdowns, welcome boards and more. Each has an id, a name, what it is for and its category. Pick the closest one, then create_board.

Takes no inputs.

Example

curl "https://my.pingbell.io/api/v1/board-templates" \
  -H "x-api-key: YOUR_API_KEY"

Answer

{
  "templates": [
    {
      "id": "starter",
      "name": "Sales counter",
      "category": "sales",
      "description": "A big live count of every sale — rings the bell on each order."
    }
  ]
}

As an MCP tool: list_board_templates

Create a board

POST /api/v1/boards

Makes a new board from a template, in the workspace's own colors and name. Boards that count things are fed by a data source: the one named, or else the workspace's first. The answer lists the board's words, each with the id to change it by. To show it on a TV, use show_board_on_screen or pair_screen.

Input What it is
template_id required text, in the JSON body The template's id, from list_board_templates.
name text, in the JSON body What to call the board in PingBell. Left out, it takes the template's name.
source_id text, in the JSON body The data source its numbers count, from list_sources or create_source. Left out, the workspace's first data source is used; with none, it shows sample numbers.

Example

curl -X POST "https://my.pingbell.io/api/v1/boards" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template_id":"starter","name":"Sales today","source_id":"uFpn3E24bDxAIDwgFjoR"}'

Answer

{
  "board": {
    "id": "TNrOEH06lzoUowrMLebP",
    "name": "Sales today"
  },
  "words": [
    {
      "id": "title",
      "on": "text",
      "text": "Corner Bakery"
    },
    {
      "id": "counter",
      "on": "counter",
      "text": "Sales today"
    }
  ]
}

As an MCP tool: create_board

Get a board's words

GET /api/v1/boards/{board_id}

Reads one board: its name and its words, meaning each line of text, each scrolling line and the label under each number, with the id to change it by. Use it before change_board_words.

Input What it is
board_id required text, in the address The board's id, from list_boards or create_board.

Example

curl "https://my.pingbell.io/api/v1/boards/TNrOEH06lzoUowrMLebP" \
  -H "x-api-key: YOUR_API_KEY"

Answer

{
  "board": {
    "id": "TNrOEH06lzoUowrMLebP",
    "name": "Sales today"
  },
  "words": [
    {
      "id": "title",
      "on": "text",
      "text": "Corner Bakery"
    },
    {
      "id": "counter",
      "on": "counter",
      "text": "Sales today"
    }
  ]
}

As an MCP tool: get_board

Change a board's words

PATCH /api/v1/boards/{board_id}

Changes what a board says: its name, and any of its words, named by the ids get_board lists. Words left out stay as they are. Every screen showing the board changes within seconds. It cannot change numbers, pictures, colors or layout.

Input What it is
board_id required text, in the address The board's id, from list_boards or create_board.
name text, in the JSON body A new name for the board in PingBell. It is not shown on the screen.
words object of text values, in the JSON body The words to change: each word's id from get_board, with its new text. Like {"title": "Open till 9", "sub": "Happy hour 4 to 6"}. Empty text clears a line.

Example

curl -X PATCH "https://my.pingbell.io/api/v1/boards/TNrOEH06lzoUowrMLebP" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"words":{"title":"Fresh bread daily","counter":"Loaves sold"}}'

Answer

{
  "board": {
    "id": "TNrOEH06lzoUowrMLebP",
    "name": "Sales today"
  },
  "words": [
    {
      "id": "title",
      "on": "text",
      "text": "Fresh bread daily"
    },
    {
      "id": "counter",
      "on": "counter",
      "text": "Loaves sold"
    }
  ]
}

As an MCP tool: change_board_words

Screens

A screen is a TV, monitor or browser tab paired to the workspace. Pair one and choose the board it shows.

List boards

GET /api/v1/boards

Lists the workspace's boards: the pages made to be shown on a TV, such as a sales counter, a leaderboard or a menu. Use it to find a board's id before putting it on a screen.

Takes no inputs.

Example

curl "https://my.pingbell.io/api/v1/boards" \
  -H "x-api-key: YOUR_API_KEY"

Answer

{
  "boards": [
    {
      "id": "TNrOEH06lzoUowrMLebP",
      "name": "Sales today"
    }
  ]
}

As an MCP tool: list_boards

List screens

GET /api/v1/screens

Lists the workspace's screens: the TVs, monitors and browser tabs paired to it. Says for each whether it has checked in during the last few minutes (live) and which board it was told to show.

Takes no inputs.

Example

curl "https://my.pingbell.io/api/v1/screens" \
  -H "x-api-key: YOUR_API_KEY"

Answer

{
  "screens": [
    {
      "id": "PHtSG5YUHAF4mllirdsL",
      "name": "Lobby TV",
      "platform": "fire_tv",
      "live": true,
      "board": {
        "id": "TNrOEH06lzoUowrMLebP",
        "name": "Sales today"
      }
    }
  ]
}

As an MCP tool: list_screens

Pair a screen

POST /api/v1/screens

Pairs a TV, monitor or browser tab to the workspace using the 6-character code it is showing. The person opens the free PingBell app on the TV, or my.pingbell.io/pair in any browser, and reads the code out. The answer says which board the screen was told to show. Never guess or invent a code: only the person can read it off the screen.

Input What it is
code required text, in the JSON body The 6-character code on the screen, exactly as the person reads it: letters and digits, like K7M2QX.
board_id text, in the JSON body The board to show on it, from list_boards. Left out, the screen is given the workspace's first board, which can be changed after.

Example

curl -X POST "https://my.pingbell.io/api/v1/screens" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code":"K7M2QX","board_id":"TNrOEH06lzoUowrMLebP"}'

Answer

{
  "screen": {
    "id": "PHtSG5YUHAF4mllirdsL",
    "name": "Screen 2",
    "platform": "roku",
    "live": true,
    "board": {
      "id": "TNrOEH06lzoUowrMLebP",
      "name": "Sales today"
    }
  }
}

As an MCP tool: pair_screen

Show a board on a screen

PUT /api/v1/screens/{screen_id}/board

Tells a paired screen to show a board. A screen that is on switches to it within seconds, wherever it is. Use list_screens and list_boards for the ids.

Input What it is
screen_id required text, in the address The screen's id, from list_screens or pair_screen.
board_id required text, in the JSON body The board's id, from list_boards.

Example

curl -X PUT "https://my.pingbell.io/api/v1/screens/PHtSG5YUHAF4mllirdsL/board" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"board_id":"TNrOEH06lzoUowrMLebP"}'

Answer

{
  "ok": true,
  "screen": {
    "id": "PHtSG5YUHAF4mllirdsL",
    "name": "Lobby TV",
    "platform": "fire_tv",
    "live": true,
    "board": {
      "id": "TNrOEH06lzoUowrMLebP",
      "name": "Sales today"
    }
  }
}

As an MCP tool: show_board_on_screen

AI assistants (MCP)

The same actions are an MCP server, so an AI assistant can make boards, send events and manage your screens when you ask it to. Every action above is a tool with the same name and inputs.

https://my.pingbell.io/api/v1/mcp
Authorization: Bearer YOUR_API_KEY

It is a Streamable HTTP server that answers in JSON. Add it to any MCP client that lets you set a header. In Claude Code:

claude mcp add --transport http pingbell https://my.pingbell.io/api/v1/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

In a client configured with a JSON file:

{
  "mcpServers": {
    "pingbell": {
      "type": "http",
      "url": "https://my.pingbell.io/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Then ask in your own words: “Make a sales counter board for my PayPal sales and put it on the lobby TV.” To pair a new TV, read the assistant the 6-character code on the screen. With more than one workspace, tell it which one; every tool that acts in a workspace takes a workspace.

No account yet? The free PingBell app for Claude, ChatGPT and Gemini makes a board and puts it on a TV with no sign-up.

Zapier

The PingBell app on Zapier offers these as steps in a Zap: Send Event, Create Data Source, Create Board, Change Board Words, Show Board on Screen and Pair Screen. Send Event can find a data source by name and create it if it is not there, so a Zap can set itself up. Connect it with the same API key.

Webhook: one URL, no key

For a tool that can only call a URL, every data source also has its own webhook address. Copy it from the Data sources page. The source id in the address is the credential, so no header is needed. One POST is one event.

POST https://hooks.pingbell.io/log?id=YOUR_SOURCE_ID&amount=12.34&currency=USD&transaction_id=order-1042

amount, currency and transaction_id are optional. Other details can go in a JSON body, but keep id and transaction_id in the address: a transaction_id is read only from there.

Building something with the API?

Tell us what you are making. If an action you need is missing, we want to know.