Skip to main content

Device Object

This section goes over the parts of the Device object.

Device Object Attributes

This is the JSON response that gets returned when a request is successful.

AttributeData TypeDescription
application_sidstringThe secure ID of the application installed on the device.
application_versionstringThe internal version of the application.
device_sid
read only
stringThe device secure ID.
environmentstringThe environment to be used to send push notifications, applicable to Apple Push Notification. Values accepted in this field are development and production.
os_versionstringThe device operating system version number.
partner
read only
objectThe Partner object associated with the device. This field is displayed if with_related is set to true when performing the GET queries.
partner_sid
read only
stringThe secure ID of the partner associated with the device.
tokenstringThe Push Notification identifying token from Google or Apple.
typestringThe type of the device operating system. Values accepted in this field are android, ios and web.

Sample Device Object

{
"application_sid": "b3edc875-f73c-4c48-895a-8697b92b8d07",
"application_version": "",
"device_sid": "56d485ae-0693-421a-91eb-6b02b152573a",
"environment": "production",
"os_version": "",
"partner_sid": "e00430c3-a7d0-4666-ab5c-f7202448382f",
"token": "1111",
"type": "ios"
}