Keys and permissions
A key belongs to one WhatSync account and grants only the capabilities you select.
Send a key in a header
Authorization: Bearer wsk_live_…
# Or:
X-API-Key: wsk_live_…Use one header. If you send both, they must contain the same key. Keys work with /api/v1 and /api/mcp. OAuth continues to work with the existing MCP endpoint. Keep secrets in server-side credentials; never put them in browser code or public repositories.
Choose permissions
Read chats and messages (required)
whatsapp.messages:read
Send messages
whatsapp.messages:send
Files, reactions, edits and polls
whatsapp.messages:manage
Manage groups
whatsapp.groups:manage
Manage templates
whatsapp.templates:manage
Run campaigns
whatsapp.campaigns:manage
Change saved chats and filters
whatsapp.settings:manage
Manage webhooks
whatsapp.webhooks:manage
General message scopes cover both connected channels. The existing Business-only OAuth scope remains restricted to the Business connector. Listing and reading groups needs only Read, and posting to a group Read and Send; changing a group (members, admins, names, settings, invite links, leaving) needs Manage groups, and webhook management needs its own permission. Campaign sends also require send permission and an enabled campaign worker.
Create, edit and revoke
Only the account owner can manage keys in the dashboard. A maximum of ten active keys is allowed. The full key is shown once and stored only as a SHA-256 hash. You can rename it, reduce or expand permissions, and revoke it; revocation invalidates the shared authorization cache. Creating, editing and revoking keys is audited. Requests require an eligible plan. Plan changes can take up to five minutes to apply. Key edits and revocations apply right away. If the account moves below Max, its keys get a plan_required error and its webhooks pause until you resume them after upgrading.