Request display name change
Submit a display name change request for the WhatsApp Business account. The new name must follow WhatsApp naming guidelines (3-512 characters, must represent your business). Changes require Meta review and approval, which typically takes 1-3 business days.
API key authentication - use your Zernio API key as a Bearer token
In: header
WhatsApp social account ID
New display name (must follow WhatsApp naming guidelines)
3 <= length <= 512Response 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.updateWhatsAppDisplayName({ body: { accountId: 'account_abc123', displayName: 'Example', },});console.log(data);{
"success": true,
"message": "string",
"displayName": {
"name": "string",
"status": "PENDING_REVIEW"
}
}{
"error": "Unauthorized"
}Get display name status GET
Fetch the current display name and its Meta review status for a WhatsApp Business account. Display name changes require Meta approval and can take 1-3 business days.
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.