forbidden
HTTP 403 · Not allowed
What it means
Your workspace does not allow this — for example the plan contact limit is reached, or the contact has message history and cannot be deleted.
What to do
Read detail. It says which rule stopped the request.
Reasons
Some answers carry a reason that says which rule refused the request:
- dnd_on_panel_only
- Do-not-disturb can only be turned on by staff, in the panel. The API turns it off only, with the customer's consent.
- dnd_off_not_allowed
- Your workspace does not allow API keys to turn do-not-disturb off yet.
- broadcast_api_disabled
- Sending broadcasts from API keys is off for the workspace. A workspace admin turns it on in the app. See the Sending broadcasts guide.
- allowlist_required
- Sending a broadcast needs a key with an IP allowlist of your servers (no range wider than /8 for IPv4 or /32 for IPv6;
too_widemeans an entry is broader than that). See Securing sensitive operations. - ip_not_allowed
- The request came from an address outside the key's IP allowlist. Call from an allowed server.
- key_not_live
- Only a live key sends broadcasts; a test key previews them.
- sandbox_only
- The playground on this site previews broadcasts only, in sandbox mode. Send from your own server.
- step_up_required
- The platform wants a fresh two-factor confirmation, which a key cannot give. Send it from the app.
- two_factor_not_enrolled
- The staff member who made the key must set up two-step sign-in first.
- permission_denied
- The staff member who made the key may not send or change broadcasts. With
two_factor_reset, their two-step sign-in was reset: they set it up again and grant a new key.
Returned by
- Create or update a contact
- Search contacts
- Delete a contact
- Count contacts by filter
- Create a custom field
- Update a custom field
- Save a contact filter
- Change a saved filter
- Delete a saved filter
- Turn off do-not-disturb for a contact
- Import contacts in bulk
- Update a quick message
- Create and send a WhatsApp broadcast
- Pause a broadcast
- Stop a broadcast
- Cancel a scheduled broadcast
- Send a WhatsApp template
- Send a message in a conversation
- Assign a conversation
- Share a conversation with a teammate
- Stop sharing a conversation
- List access rules
- Set an access rule
- Delete an access rule
- Send a message
- Send a file in a conversation
- Create business hours
- Update business hours
- Delete business hours
- Duplicate business hours
- Add a holiday or special day
- Change a holiday or special day
- Remove a holiday or special day
- Import public holidays