Check availability
Mobile
Check availability
Check registration availability for a phone number on WhatsApp
POST
Check availability
Documentation Index
Fetch the complete documentation index at: https://developer.z-api.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Method used to check the registration availability of a number. This endpoint verifies if the number is available for registration and performs the WhatsApp onboarding setup. It must be called before requesting the confirmation code.ATTENTIONDo not use this method if you do not have access to the phone where the number is currently linked. This method is useful for speeding up the code confirmation process without having to wait for an SMS or voice call, but it requires you to have the device in hand with the WhatsApp app open.
Attributes
Header
Your instance ID. Available in the Z-API panel under Instances.
Your Z-API instance token.
Body
Country code
Phone number with area code, no formatting
Request Body
Response
200
Returns true if the number is available for registration
Whether the number is banned or blocked for some other reason
Token for unban request (when blocked)
Time to wait before requesting SMS
Time to wait before requesting voice call
Time to wait before requesting in-app pop-up
Whether the pop-up code request method is available
In case of error, this attribute states the reason why the error occurred