Skip to content

Device Information

Overview

You can include information about User’s device in our transactions using special X-Device-Info header in JSON format. We also get minimal information about the User’s device from User-Agent. But the X-Device-Info has a priority over User-Agent and it will overwrite the information.

Header structure

Here is the example of JSON object that you will pass as header:

iOS:

{
"system_name": "iOS",
"system_version": "16.6",
"node_name": "John's iPhone",
"localized_model": "iPhone",
"identifier_for_vendor": "12345678-ABCD-4321-EF12-3456789ABCDEF",
"machine": "iPhone14,3",
"release": "16.6",
"build_id": "20G81",
"pretty_name": "iPhone 13 Pro Max",
"version_codename": "Zebra"
}

Android:

{
"security_patch": "2024-12-01",
"sdk_int": 31,
"release": "12",
"preview_sdk_int": null,
"incremental": "8076163",
"codename": "REL",
"base_os": "Android",
"board": "raven",
"bootloader": "raven-1.2-123456",
"brand": "Google",
"device": "raven",
"display": "SQ3A.220705.003",
"fingerprint": "google/raven/raven:12/SQ3A.220705.003/8076163:user/release-keys",
"hardware": "raven",
"host": "ab1234.corp.google.com",
"manufacturer": "Google",
"model": "Pixel 6",
"product": "raven",
"supported_32bit_abis": ["armeabi-v7a", "armeabi"],
"supported_64bit_abis": ["arm64-v8a"],
"supported_abis": ["arm64-v8a", "armeabi-v7a", "armeabi"],
"tags": "release-keys",
"type": "user",
"system_features": ["android.hardware.bluetooth", "android.hardware.camera"],
"serial_number": "FA1A2BC3D456",
"is_low_ram_device": false
}

Just put everything in one JSON object and system will identify them.