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.
Get business username GET
Fetch the current WhatsApp Business username and its approval status. Username status can be `approved` (active), `reserved` (pending activation), or `none` (no username set).