Unblock users
Unblock one or more previously blocked WhatsApp users on this number.
Up to 1,000 users per request; per-user failures are reported in
failed without failing the rest of the batch.
API key authentication - use your Zernio API key as a Bearer token
In: header
WhatsApp social account ID
Phone numbers (E.164) or WhatsApp user IDs to unblock.
1 <= items <= 1000Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsapp.unblockWhatsAppUsers({ body: { accountId: 'account_abc123', users: [ 'string', ], },});console.log(data);{
"unblocked": [
{
"input": "string",
"waId": "string"
}
],
"failed": [
{
"input": "string",
"errors": [
"string"
]
}
]
}{
"error": "Unauthorized"
}Block users POST
Block one or more WhatsApp users on this number. Blocked users cannot message your number or see that you are online, and your sends to them return an error. Meta constraints, surfaced per-user in `failed` (the request itself still succeeds for the rest of the batch): - Only users who messaged your business within the last 24 hours can be blocked (failures outside the window report "Re-engagement required"). - Up to 1,000 users per request; the blocklist caps at 64,000. - Other WhatsApp Business accounts cannot be blocked.
Get CTWA conversions dataset GET
Returns the Meta Click-to-WhatsApp conversions dataset currently linked to the WhatsApp account, if one has been provisioned. Reads only from the stored `metadata.metaCapiDatasetId` — never hits Meta, never creates a dataset. Use this to detect whether `POST /v1/whatsapp/conversions` is configured for an account.