Partner API Webhooks
PartnerAPI Webhooks notify your platform in real-time when important events occur across the workspaces you manage. Monitor quota usage, track WhatsApp account connections, and stay informed about API token changes — all without polling. These webhooks are separate from the PublicAPI Webhooks. While PublicAPI Webhooks cover message-level and chat-level events within a single workspace, PartnerAPI Webhooks focus on workspace-level operational events relevant to platform administrators and resellers.Available events
Workspace quota events
Get alerted when your managed workspaces approach or hit their usage limits. These events enable proactive billing management and prevent service interruptions.| Event | Trigger | Description |
|---|---|---|
| Seats fully utilized | All seats in use | Every purchased seat in the workspace is occupied — no more users can be added |
| Messaging quota at 90% | Nearing message limit | The workspace has used 90% or more of its messaging quota for the current billing period |
| Messaging quota at 100% | Message limit reached | The workspace has exhausted its messaging quota — new messages will be blocked |
| Transactions quota exhausted | Transaction limit reached | All available transactions for the workspace have been consumed |
| API calls quota at 100% | API call limit reached | The workspace has used 100% of its Public API call quota for the current billing period |
WhatsApp account events
Track when WhatsApp numbers are connected or disconnected across your managed workspaces.| Event | Trigger | Description |
|---|---|---|
| Account connected | WhatsApp linked | A user successfully connected a WhatsApp account by scanning a QR code |
| Account disconnected | WhatsApp unlinked | A WhatsApp account was disconnected (manually or automatically) |
API token events
Monitor security-sensitive changes to Public API tokens.| Event | Trigger | Description |
|---|---|---|
| Token rotated | Public API token changed | A workspace’s Public API token was rotated via the Partner API |
Use case examples
Proactive quota management
Proactive quota management
Prevent service disruptions by acting on quota warnings before limits are reached.
- Subscribe to the 90% messaging quota event
- When triggered, notify your customer that they are approaching their limit
- Offer an upsell or auto-upgrade their plan
- If the 100% event fires, display a warning in your UI and queue messages for later
Automated billing & usage tracking
Automated billing & usage tracking
Keep your billing system in sync with actual resource consumption.
- Subscribe to all quota events (seats, messaging, transactions, API calls)
- Log each event with the workspace ID and timestamp
- Trigger billing adjustments, overage charges, or plan upgrades automatically
- Generate usage reports for your customers
Onboarding status tracking
Onboarding status tracking
Know instantly when a customer’s WhatsApp account is ready.
- After generating a QR code via the Partner API, subscribe to the
account connectedevent - When the event fires, update your onboarding flow to mark WhatsApp as connected
- Trigger welcome messages or next-step guides for the customer
- Monitor for disconnections and prompt users to reconnect
Security monitoring
Security monitoring
Track API token changes and account access across all workspaces.
- Subscribe to the
token rotatedevent to audit all token changes - Log which workspaces had tokens rotated and when
- Subscribe to account disconnection events to detect unexpected access changes
- Alert your security team if a workspace loses its WhatsApp connection unexpectedly
Payload example
When a workspace’s messaging quota reaches 90%, your endpoint receives:Best practices
- Act on 90% warnings — don’t wait for the 100% event. Proactively notify customers or auto-scale their plans.
- Log all events — maintain an audit trail of all webhook events for billing reconciliation and support troubleshooting.
- Monitor account connectivity — WhatsApp disconnections can disrupt your customer’s business. React to disconnection events quickly.
- Secure token rotation — when you receive a
token rotatedevent, update any cached tokens in your system immediately.

