How it works

How a message gets there, and how answers come back

  1. 01 · Request

    Your app or agent sends

    One call from the SDK, REST or MCP.

  2. 02 · Delivery

    We reach the person

    On the Telegram, Slack or email they connected.

  3. 03 · Answer · optional

    They answer, if you asked

    A tap, or a typed reply.

  4. 04 · Result

    Your app finds out

    Poll for it with no public URL, or take a webhook.

01 · Request

Send in one call

Say who it's for and what it says. To get an answer, add a question. It stays open for 24 hours unless you set a deadline of 30 seconds or longer.

  • Yes or no, with your own button labels
  • Pick one of two to ten choices
  • Type a reply of up to 4,000 characters
import { WhooshBangClient } from "@whooshbang/sdk";

const wb = new WhooshBangClient({
  credential: process.env.WHOOSHBANG_CREDENTIAL!,
});

const asked = await wb.ask({
  to: "customer_123",
  interaction: {
    prompt: "Deploy 4821 is ready. Ship it?",
    expires_in_seconds: 900,
  },
});

if (asked.outcome === "answered") {
  console.log(asked.answer.value); // true or false
}

TypeScript, with @whooshbang/sdk from npm.

POST https://api.whooshbang.com/v1/messages
Authorization: Bearer $WHOOSHBANG_CREDENTIAL
Content-Type: application/json

{
  "to": "customer_123",
  "interaction": {
    "prompt": "Deploy 4821 is ready. Ship it?",
    "expires_in_seconds": 900
  }
}

Any language. You get a 202 with the message and question IDs.

// In your MCP client, add:
https://api.whooshbang.com/mcp/notifications

// Then ask your agent:
// "Run the migration, but check with me
//  on Telegram before you touch production."

// It sends you a yes-or-no and waits for
// your tap before it carries on.

Sign in when your client asks, and choose whether it can message only you or your team.

02 · Delivery

Send to your user. We find their channel.

Your app sends to the user ID it already uses. WhooshBang delivers on the channel that person connected.

Your users connect once

Give each user a one-time link, or drop our settings panel into your own settings page. It works in React, Vue or plain HTML, and your API key stays on your server. For email, skip the link and confirm the address from your own sign-up.

Send to a whole group

Put up to 50,000 people in a group and send once. Each person gets their own copy and answers on their own.

Message yourself or a teammate

An agent can send to "me" or to a teammate by name. It reaches them on the Telegram or Slack they chose in their settings.

03 · Answer, if you asked a question

They answer in Telegram, in Slack, or from the email

No app to install and no account to make. Here's what each channel shows.

How each channel shows a question
Kind of question Telegram Slack Email
Yes or no Two buttons Two buttons A link to a page with both choices
Pick one A button per choice Buttons, or a menu for longer lists A link to a page with the choices
Type a reply They reply to the message A small form opens A link to a page with a text box

Answers don't change. Your app gets the first one and later taps are ignored, so it won't flip after you act.

In their language. Buttons and answer pages come in 16 languages.

04 · Result

Get the result by polling or webhook

Check whether a message was sent, and collect any answer. Polling needs no public URL, so it works from a laptop, a CI job, a serverless function or an agent on your machine.

No public URL needed

Poll for the answer

Ask whether a message was sent or a question answered. Each request waits up to 30 seconds for news, so there's no tight loop. Agents can do the same through MCP.

GET /v1/interactions/{id}?wait=30

Wait for it

The SDK's ask sends and keeps polling until there's an answer, in one call.

await wb.ask(request, {
  patienceMs: 15 * 60_000,
})

Take a webhook

We post the answer to your server, signed with the Standard Webhooks headers. Replay a failed delivery from the dashboard.

{
  "type": "interaction.received",
  "data": {
    "channel": "telegram",
    "response": {
      "type": "confirm",
      "value": true
    }
  }
}

What your app gets back

Outcomes of a question
outcome What happened
answered They answered. Their answer is in the answer field.
expired Nobody answered before the deadline.
cancelled You cancelled the question before anyone answered.
open No answer yet. Ask again.
subscriber_unbound That person hasn't connected a channel yet. Nothing was sent.

Send yourself a question first.