-
Notifications
You must be signed in to change notification settings - Fork 54
WhatsApp Registration (v1)
Ben edited this page Mar 18, 2021
·
4 revisions
Version 1 of the WhatsApp Registration process. DEPRECATED: Use WhatsApp Verification (v2)
Base URL: https://r.whatsapp.net/v1
Check if this number exists on the WhatsApp server.
URL: Base URL + /exist.php
Method: GET
Headers:
User-Agent
Parameters:
Parameter | Description | Optional/Required |
---|---|---|
cc |
Country Code | Required |
in |
Internal Number | Required |
udid |
Unique Device Identifier | Required? |
OK:
<?xml version="1.0" encoding="UTF-8"?>
<exist>
<response status="ok" result="{number}"/>
</exist>
FAIL:
<?xml version="1.0" encoding="UTF-8"?>
<exist>
<response status="fail" result="incorrect"/>
</exist>
Request a code.
URL: Base URL + /code.php
Method: GET
Headers:
User-Agent
Parameters:
Parameter | Description | Optional/Required |
---|---|---|
cc |
Country Code | Required |
to |
To: Full phone number where to send the code to | Required? |
in |
Internal Number | Required |
udid |
Unique Device Identifier | Required? |
lg |
Language | ? |
lc |
Language Country | ? |
mnc |
Mobile Network Code | ? |
method |
Method of sending the code | ? |
reason |
Reason | ? |
token |
Token | ? |
Success Sent:
<?xml version="1.0" encoding="UTF-8"?>
<code>
<response status="success-sent" result="60"/>
</code>
Fail Too Recent:
<?xml version="1.0" encoding="UTF-8"?>
<code>
<response status="fail-too-recent" result="180"/>
</code>
Fail Too Many:
<?xml version="1.0" encoding="UTF-8"?>
<code>
<response status="fail-too-many"/>
</code>
Register the number with the received code.
URL: Base URL + /register.php
Method: GET
Headers:
User-Agent
Parameters:
Parameter | Description | Optional/Required |
---|---|---|
cc |
Country Code | Required |
in |
Internal Number | Required |
udid |
Unique Device Identifier | Required? |
code |
Code | Required |
OK:
<?xml version="1.0" encoding="UTF-8"?>
<register>
<response status="ok" login="{number}" result="new"/>
</register>
Mismatch:
<?xml version="1.0" encoding="UTF-8"?>
<register>
<response status="mismatch" login="{number}" result="me={number} code={code}" />
</register>
WAPI!!!
WAPI!!!