Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

loq register

Liam Jack edited this page Sep 22, 2015 · 3 revisions

Endpoint

/loq/register

Description

Used to create a new account on the server.

Request

  • attestation: Google SafetyNet attestation
  • dtoken1i: Obtained with /loq/device_id
  • dsig: SHA-256 HMAC of [EMAIL]|[PASSWORD]|[TIMESTAMP]|[REQ_TOKEN] with dtoken1v obtained with /loq/device_id, cut down to 20 characters.
  • birthday: YYYY-MM-DD
  • age: Age calculated from birth date (Because Snapchat™ can't do this kind of stuff server side, obviously.)
  • email: New account email
  • password: New account password
  • timestamp
  • req_token

Response

  • auth_token: Your "session cookie"
  • default_username: Snapchat™ recommends that you use this username
  • default_username_status: Whether the recommended username is available (true or false)
  • email: Your email address (in case you forgot)
  • logged
  • should_send_text_to_verify_number: true or false
  • snapchat_phone_number: +17864088263
  • user_id: Your user ID
  • username_suggestions: Array of more recommended usernames
Clone this wiki locally