Request confirmation code
Mobile
Request confirmation code
Request the confirmation code for number registration
POST
Request confirmation code
Overview
Method used to request the confirmation code to be sent.Attributes
Header
string
required
Your instance ID. Available in the Z-API panel under Instances.
string
required
Your Z-API instance token.
Body
string
required
Country code
string
required
Phone number with area code (e.g.: 4499999999)
string
required
Code delivery method:
sms, voice or wa_oldRequest Body
Response
200
boolean
Returns true if the code request was sent successfully
string
Base64 image with captcha code
boolean
Whether the number is banned or not
number
Time in seconds to wait before requesting a new code
number
Time to wait before requesting SMS
number
Time to wait before requesting voice call
number
Time to wait before requesting in-app pop-up
string
Code delivery method