WhatsApp Registration Flow

mgp25 edited this page Mar 28, 2016 · 11 revisions

Many users get confused with how the registration process works between the WhatsApp registration servers and clients.

The following is an attempt to show how:

  • The registration process works with official clients
  • How to manually register a number ( using WART or CLI Register Tool ) or using this online tool http://watools.es/pwd.html
  • What an identity is.
  • How passwords are created/changed depending on the request sent.

Registration flow

HTTP Request made by client

Requesting code

Request URL: https://184.173.136.86/v2/code

GET Params:

  • cc: country code
  • in: phone number without country code
  • lg: Language
  • lc: Language code
  • id: identity
  • token: token (used for requesting sms/voice code)
  • mistyped: 6
  • network_radio_type: 1
  • simnum: 1
  • s: 1
  • copiedrc: 1
  • hasinrc: 1
  • rcmatch: 1
  • pid: mt_rand(100, 9999)
  • rchash: hash('sha256', openssl_random_pseudo_bytes(20))
  • anhash: md5(openssl_random_pseudo_bytes(20))
  • extexist: 1
  • extstate: 1
  • mcc: mcc of sim
  • mnc: mnc of sim
  • sim_mcc: mcc of sim
  • sim_mnc: mnc of sim
  • method: sms or voice

Registering number

Request URL: https://184.173.136.86/v2/register

GET Params:

  • cc: country code
  • in: phone number without country code
  • lg: Language
  • lc: Language code
  • id: identity
  • entered: 1
  • mistyped: 6
  • network_radio_type: 1
  • simnum: 1
  • s: 1
  • copiedrc: 1
  • hasinrc: 1
  • rcmatch: 1
  • pid: mt_rand(100, 9999)
  • rchash: hash('sha256', openssl_random_pseudo_bytes(20))
  • anhash: md5(openssl_random_pseudo_bytes(20))
  • extexist: 1
  • extstate: 1
  • code: code received by sms or voice call

Checking if the number exists (Retrieve password if number was register in that device [same identity]).

Request URL: https://174.37.243.85/v2/exist

GET Params:

  • cc: country code
  • in: phone number without country code
  • lg: Language
  • lc: Language code
  • id: identity
  • mistyped: 6
  • network_radio_type: 1
  • simnum: 1
  • s: 1
  • copiedrc: 1
  • hasinrc: 1
  • rcmatch: 1
  • pid: mt_rand(100, 9999)
  • extexist: 1
  • extstate: 1
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.