onboarding

login

Internal onboarding/login operation. Authentication requirements are derived from the active route allowlist.

post/onboarding/login

Request body

coming_from_signupstring
country_codestring
created_idinteger
device_idstring
device_tokenstring
emailstring
facebook_idinteger
google_idinteger
passwordstring
platformstring
rolestring
time_zonestring
device_typestring
device_infostring
languagestring

Example request

{
  "coming_from_signup": "example_coming_from_signup",
  "country_code": "nw",
  "created_id": 1,
  "device_id": "my_info3",
  "device_token": "my_info41",
  "email": "abrar.ahmed.andpercent@gmail.com",
  "facebook_id": 1,
  "google_id": 1,
  "password": "abc1234",
  "platform": "web",
  "role": "example_role",
  "time_zone": "Asia/Karachi",
  "device_type": "mobile",
  "device_info": "jfn41",
  "language": "en"
}

Response

Standard successful response envelope.

status'success' required
statusCodeinteger required
messagestring required
dataobject required
{"stackTrail":"components:schemas:SuccessEnvelope:properties:error","oasType":"schema","type":"unknown","example":null,"nullable":true}

Example response

{
  "statusCode": 200,
  "message": "OK"
}

Changes