BouncerBouncer Docs

Developer & API Keys

Create API keys and manage integrations from the Bouncer Developer dashboard


API keys let the WooCommerce plugin, n8n, Zapier or your own app send messages and read data in your Bouncer organization. Each key only gets the access you give it. To connect an AI assistant such as Claude or ChatGPT, see AI & MCP.

Go to Developer in your dashboard sidebar (under Integrations & Configuration), or visit app.bouncer.my/dashboard/developer. The page has four tabs: API Keys, Template Costs, AI & MCP and Integrations.

API Keys tab: the key list with All, Active and Expired filters, search, and the Good to know panel

Your keys

The API Keys tab lists every key in the organization:

  • Name, with the key's last few characters underneath so you can tell keys apart
  • Status: Active, Inactive (turned off) or Expired
  • Permissions: the first permission, plus how many more. Blue permissions can change data; grey ones only read
  • Last used: when the key last made a request

Use All, Active and Expired to filter the list, or Search keys to find one by name. Click a column header to sort.

Create an API key

Open the form

On the API Keys tab, click Create key.

Details

  • Key name: name it after the integration that will use it, e.g. n8n production or WooCommerce Store
  • Description (optional): what the key is for

Permissions

Tick what the integration needs. Each area has a Read column and a Write column, and they are separate: ticking Write does not also give Read. Four permissions are ticked by default (Send Messages, Read Instances, Manage Conversations, Manage Webhooks), which is what the WooCommerce plugin needs. See Permissions below.

Message pacing (optional)

Space out messages so WhatsApp doesn't flag them as spam. This only applies to WAHA / Baileys numbers. Leave it Off if you don't need it. See Message pacing below.

Create and copy

The bar at the bottom shows how many permissions you picked and how many of them can change data. Click Create key, then copy the key straight away.

The full key is shown only once. Copy it and store it somewhere safe, such as your app's environment variables. If you lose it, use Regenerate to get a new one.

Create a key panel: Details, Permissions with Read and Write columns, and the permission count above the Create key button

Manage a key

Click the ⋯ button at the end of a key's row:

ActionWhat it does
Edit keyChange the name, description, permissions or message pacing. Changes apply right away and the key itself stays the same
Copy key IDCopies the key's ID (not the secret), e.g. for support
Turn off / Turn onStops the key working without deleting it. Turn it back on any time
RegenerateIssues a new secret and turns the old one off right away. Update every app that uses it
DeleteRemoves the key for good

Permissions

AreaReadWrite
Messages—Send Messages (message:send): send text, media, location and contact messages
InstancesRead Instances (instance:read): view WhatsApp number detailsManage Instances (instance:manage): create, update and delete WhatsApp numbers
ConversationsRead Conversations (conversation:read): view conversation statesManage Conversations (conversation:manage): change conversation states for bot-to-human handover
WebhooksRead Webhooks (webhooks:read): view webhook settingsManage Webhooks (webhooks:manage): create, update and delete webhooks
ContactsRead Contacts (contact:read): view contacts and their detailsWrite Contacts (contact:write): create and update contacts
TagsRead Tags (tag:read): view contact tagsWrite Tags (tag:write): create, add and remove contact tags
OrganizationRead Organization (organization:read): view organization details—
UsageRead Usage (usage:read): view API usage figures—

Give a key only what its integration needs.

AI assistants use a separate MCP key (analytics:read), which you can't combine with the permissions above. Create it on the AI & MCP tab; see AI & MCP.

Message pacing

Message pacing adds a delay between messages sent with the key, so they don't arrive with a machine-regular rhythm. It applies to WAHA / Baileys numbers only.

ModeWhat it doesSettings
OffNo pacing. Messages go out as fast as they are sent (default)—
FixedThe same delay between every messageDelay, Queue per contact
RandomA random delay within a range, closest to a person typing. RecommendedMin delay, Max delay, Queue per contact
SmartA random delay plus cool-down pauses for heavy sendingMin delay, Max delay, Queue per contact

Good starting values are a Min delay of 3 seconds, a Max delay of 8 seconds and a Queue per contact of 20 messages.

Using your API key

Send the key in the X-API-Key header on every request:

curl -X POST https://api.bouncer.my/api/v1/message/sendText \
  -H "X-API-Key: bnc_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"phoneNumber": "+60123456789", "instanceId": "your_instance_id", "text": "Hello World!"}'

Keys start with bnc_live_. A request without the header, or with a key that is wrong, turned off or expired, is refused with 401. A key that lacks the permission an endpoint needs gets 403.

Other tabs

  • Template Costs: what each WhatsApp message template costs you
  • AI & MCP: connect an AI assistant; see AI & MCP
  • Integrations: connect and set up outside services

API reference

Every endpoint, with request and response formats and examples, is in the API documentation. The Docs button on the API Keys tab opens it too.

View API Documentation

Where API keys are used