v1

latestOpenAPI 3.1.0Apache 2.02026-07-24113269342.0 KB
Interview

Fetch device info

Fetch information about device user was using during onboarding

get/omni/get/device-info

Query parameters

idstring

Represents interview id for which device data are requested. If it is not present it will be read from token.

returnDataboolean

If it is set to true, string representation of map which contains all data that enters the hash will be returned.

Headers

api-versionstring required

Response

OK

ipAddressstring

IP address of the device from which onboarding is being executed.

hashstring

Hash is generated out of data specific to user device and browser: userAgent, webdriver, language, colorDepth, deviceMemory, hardwareConcurrency, screenResolution, availableScreenResolution, timezoneOffset, timezone, sessionStorage, localStorage, indexedDb, cpuClass, platform, plugins, canvas, webgl, webglVendorAndRenderer, adBlock, hasLiedLanguages, hasLiedResolution, hasLiedOs, hasLiedBrowser, touchSupport, fonts, audio.

deviceType'IOS' | 'ANDROID' | 'WEBAPP'

Device type

osVersionstring
deviceModelstring
sdkVersionstring
browserstring
hasLiedBrowserboolean
longitudenumber float

User's geolocation longitude.

latitudenumber float

User's geolocation latitude.

locationstring

User's location at the moment of onboarding process.

getmAdminAreastring

State

getmSubAdminAreastring

County

getmLocalitystring

City

getmSubLocalitystring

Neighborhood, common name

getmThoroughfarestring

Street name.

getmSubThoroughfarestring

Number.

getmPostalCodestring

Zip code

getmCountryCodestring

Country code

getmCountryNamestring

Country name

hostingAppstring

Hosting App

Example response

{
  "getmAdminArea": "CA",
  "getmSubAdminArea": "Santa Clara",
  "getmSubLocality": "Mission District",
  "getmCountryCode": "US",
  "getmCountryName": "United States",
  "hostingApp": "Onboarding"
}