onboarding

updateDeviceInfo

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

post/onboarding/updateDeviceInfo

Request body

app_instance_idstring
app_versionstring
aspect_rationumber
authorization_idinteger
country_codestring
device_idstring
device_infostring
device_tokenstring
mxp_dev_idstring
onesignal_subscription_idstring
osstring
platformstring
random_keystring
screen_dpiinteger
screen_heightinteger
screen_widthinteger
session_countinteger
time_zonestring

Example request

{
  "app_instance_id": "d185882db608e91bd8e59fb1a51a4091",
  "app_version": "3.0",
  "aspect_ratio": 1.62,
  "authorization_id": 1,
  "country_code": "IN",
  "device_id": "asdasfasdfqsdasdasd",
  "device_info": "Android|7.1.1|OnePlus|ONEPLUS A3010",
  "device_token": "1234 token",
  "mxp_dev_id": "4ec8363a-349b-4c96-9e01-8f75b2785715",
  "onesignal_subscription_id": "deb31779-fdfc-4246-8ca4-93dc18daacc7",
  "os": "14",
  "platform": "android",
  "random_key": "sadfsdfweqfcsa",
  "screen_dpi": 300,
  "screen_height": 720,
  "screen_width": 1465,
  "session_count": 21,
  "time_zone": "Asia/Karachi"
}

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

No recorded changes to this endpoint across all 1 revision of this API.