Register WhatsApp Business Phone Number
Changed onRegister a WhatsApp Business phone number for messaging capabilities and enable two-step verification. This is a required step before sending messages through the WhatsApp Business Cloud API.
Registration Process:
- Phone number must be in UNVERIFIED status
- Provide a 6-digit PIN for two-step verification
- Optionally provide backup data for account migration
- Registration activates messaging capabilities
Migration Support: For migrating from on-premises WhatsApp Business API, include backup data with password and encrypted account information.
Rate Limiting: Registration attempts are rate-limited to prevent abuse. Standard Graph API rate limits apply with additional restrictions for registration endpoints.
Security Requirements:
- Two-step verification is mandatory for all registered numbers
- PIN must be securely stored and managed by the business
- Registration enables webhook delivery and message sending capabilities
Request
- Base URLhttps://graph.facebook.com
- URLhttps://graph.facebook.com/{Version}/{Phone-Number-ID}/register
- AuthHTTP bearer
Path parameters
Graph API version to use for this request. Determines the API behavior and available features.
The ID of the phone number to register. This ID is provided when the phone number is added to your WhatsApp Business Account and can be found in WhatsApp Manager.
Headers
The user agent string identifying the client software making the request.
Bearer token for API authentication. This should be a valid access token obtained through the appropriate OAuth flow or system user token.
Request body
Example request
{
"messaging_product": "whatsapp",
"pin": "123456",
"backup": {
"password": "YOUR_BACKUP_PASSWORD",
"data": "YOUR_BACKUP_DATA"
},
"data_localization_region": "AE",
"meta_store_retention_minutes": 60
}Response
Successfully registered WhatsApp Business phone number
Example response
{
"success": true
}Changes
- warning
removed the request property
- warning