A business number sends on the Cloud API only after four calls (Embedded Signup does the first three for numbers added through it). You add it to the WhatsApp account, request a code, verify the code, and call POST /<PHONE_NUMBER_ID>/register with a 6-digit PIN. Adding the number in the App Dashboard, WhatsApp Manager or Embedded Signup doesn’t register it. Meta’s instruction is to “call the register endpoint” (Register a business phone number, accessed 2026-11-02).
Meta now calls the WhatsApp Business Account (WABA) a “Messaging account”, and the ID in /<WABA_ID>/phone_numbers keeps the same value (account model evolution, accessed 2026-11-02).
Which numbers qualify
Meta’s business phone numbers page (accessed 2026-11-02) sets the rules. The number must “be owned by you”, “have a country and area code (short codes are not supported)”, “be able to receive voice calls or SMS” and “have scaled capabilities”. If the number is already on WhatsApp or the WhatsApp Business app, delete that account first. “To use an existing WhatsApp phone number with Cloud API, you must first delete your WhatsApp account”, and the message history is lost (Use an existing WhatsApp number). The exception is partner-led coexistence, described in the Business app and Cloud API guide.
Count your numbers before you start. “New business portfolios are initially capped at two registered business phone numbers.” The cap rises to 20 after business verification or once the portfolio reaches a 2,000 messaging limit.
The four calls
POST /<WABA_ID>/phone_numberswithcc,phone_numberandverified_name. The response is{"id": ...}, the phone number ID.POST /<PHONE_NUMBER_ID>/request_codewithcode_methodset toSMSorVOICEand alanguage.POST /<PHONE_NUMBER_ID>/verify_codewith the code you received.POST /<PHONE_NUMBER_ID>/registerwithmessaging_productandpin.
The first call is built from the fields Meta documents, since the page gives no complete sample:
curl -X POST 'https://graph.facebook.com/<API_VERSION>/<WABA_ID>/phone_numbers' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{"cc": "<COUNTRY_CODE>", "phone_number": "<PHONE_NUMBER>", "verified_name": "<DISPLAY_NAME>"}'
cc holds the country code and phone_number the rest of the number, so split your E.164 value first. The E.164 normalization guide shows how. verified_name is the display name that goes to review, covered in the display name guide.
Request the code. Meta’s samples pin v26.0; this one has placeholders:
curl -X POST 'https://graph.facebook.com/v26.0/<PHONE_NUMBER_ID>/request_code?code_method=SMS&language=en_US' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
Then verify it. Enter the digits without the hyphen, so a code shown as “123-830” goes in as “123830”.
curl -X POST \
'https://graph.facebook.com/v26.0/<PHONE_NUMBER_ID>/verify_code' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-F 'code=<CODE>'
If the number is already verified, Meta returns “HTTP 400 with error code 136024”. Skip to registration. Meta doesn’t document how long a code stays valid or how often you can request one.
Register with the PIN
Meta’s register sample, with placeholders:
curl 'https://graph.facebook.com/v26.0/<PHONE_NUMBER_ID>/register' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-d '
{
"messaging_product": "whatsapp",
"pin": "<SIX_DIGIT_PIN>"
}'
The response is {"success": true}. The pin does two jobs. If two-step verification is already on, send the existing PIN. If it’s off, the value you send becomes the new PIN, so store it somewhere your team can find it. An optional data_localization_region parameter takes an ISO 3166 alpha-2 country code for local data storage.
Register and deregister are each limited to “10 requests per business number in a 72-hour moving window”. Going over returns 133016 and blocks the number for 72 hours. A deploy script that registers on every start can use that up in a day, so check the status first and register only when needed.
Display name changes come back to this endpoint. After Meta approves a new name, re-register the number to apply it. “Re-registering before approval has no effect.”
Two-step verification
Set or change the PIN with a POST to the phone number itself (Two-step verification, accessed 2026-11-02):
curl -X POST 'https://graph.facebook.com/<API_VERSION>/<PHONE_NUMBER_ID>' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{"pin": "<SIX_DIGIT_PIN>"}'
It returns {"success": true}. “There is no endpoint to disable two-step verification.” If nobody knows the PIN, reset it in WhatsApp Manager under the phone number’s Settings, on the Two-step verification tab, with Change PIN.
The PIN is on its way out. Meta’s page says “The 6-digit two-step verification PIN is being deprecated for eligible Cloud API phone numbers”, rolling out with the new account model. Eligible numbers lose the Two-step verification tab in WhatsApp Manager, and if the tab is still there, the number isn’t eligible yet. For eligible numbers, Meta no longer uses the PIN you send to validate registration and doesn’t create a new one.
Keep sending it anyway. Meta says to “Continue sending a valid 6-digit pin parameter in your POST /<BUSINESS_PHONE_NUMBER_ID>/register calls” until “a separate API contract change is announced”. No date is given. Partners can already change a display name without the PIN.
Registration errors
Meta’s error codes page (accessed 2026-11-02) lists the 133xxx codes that registration returns:
| Code | Meta’s text | What to do |
|---|---|---|
| 133000 | “A previous deregistration attempt failed.” | Deregister again, then register. |
| 133004 | “Server is temporarily unavailable.” | Retry later. |
| 133005 | “Two-step verification PIN incorrect.” | Check the PIN, or reset it in WhatsApp Manager. |
| 133006 | “Phone number needs to be verified before registering.” | Run request_code and verify_code. |
| 133008 | “Too many two-step verification PIN guesses for this phone number.” | Retry after the time given in the error details. |
| 133009 | “Two-step verification PIN was entered too quickly.” | Slow down your retries. |
| 133010 | “Phone number not registered on the WhatsApp Business Platform.” | Call /register. |
| 133015 | The number was recently deleted | “Wait 5 minutes before re-trying the request.” |
| 133016 | Too many register or deregister attempts | Wait out the 72-hour block. |
Don’t loop on 133005. Each wrong PIN counts toward 133008. The rest of the catalogue is in the Cloud API error codes reference.
Deregister
POST /<PHONE_NUMBER_ID>/deregister returns {"success": true}. It doesn’t delete the number or its message history. Without the whatsapp_business_messaging permission it returns error 200, and it doesn’t work on a coexistence number. It has its own limit of 10 requests per 72 hours, like register.
curl -X POST 'https://graph.facebook.com/v26.0/<PHONE_NUMBER_ID>/deregister' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
Read the number’s status
To send and receive, the number “must have a status of “connected”“. Meta’s examples show "status": "CONNECTED". Read the other fields with a GET on the phone number ID (Phone Number API reference). Meta’s example:
{
"code_verification_status": "VERIFIED",
"display_phone_number": "15555555555",
"id": "105954558954427",
"quality_rating": "GREEN",
"verified_name": "Support Number"
}
code_verification_status is VERIFIED or UNVERIFIED. The reference describes these as two-step verification states, although the field name points to the code step. name_status covers the display name: APPROVED, AVAILABLE_WITHOUT_REVIEW, DECLINED, EXPIRED, PENDING_REVIEW or NONE. With EXPIRED or NONE, the number can’t be registered. The reference also lists connection_status values CONNECTED, DISCONNECTED, PENDING, FLAGGED, RESTRICTED, RATE_LIMITED and MESSAGING_LIMIT_TIER_0 to _4. Meta doesn’t publish a complete list for the GET response, so log any value you don’t recognize instead of rejecting it.
Z-API Omni team