Verify and Register Phone Number
A 3-step recipe with WhatsApp. We can help you get access.
Recipe · 3 steps
Verify and Register Phone Number
with WhatsApp
Drive a phone number from code request through verification to registration.
- Request a verification code be sent to the phone number over the chosen delivery method.
- Verify the phone number using the code the caller received via SMS or voice.
- Register the verified phone number for Cloud API use, setting its two-step verification PIN.
What you'll need to have ready
- accessToken: Access token with whatsapp_business_management permission.
- phoneNumberId: The WhatsApp phone number ID being registered.
- codeMethod: Delivery method for the verification code (SMS or VOICE).
- language: Two-letter language code for the verification message.
- code: The 6-digit verification code received via SMS or voice.
- pin: 6-digit two-step verification PIN to set during registration.
For your developer
Arazzo workflow whatsapp:register-phone-number, 3 operations: requestVerificationCode → verifyCode → registerPhoneNumber. Specs on APIs.io.