Skip to main content

Cell phone data

Method#

/device#

GET https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/device

Header#

KeyValue
Client-TokenACCOUNT SECURITY TOKEN

Concept#

This method is responsible for returning the information about the device/cell phone connected


Attributes#

{
"phone": "",
"imgUrl": null,
"device": {
"wa_version": "2.21.10.16",
"mcc": "724",
"mnc": "039",
"os_version": "7.1.2",
"device_manufacturer": "samsung",
"device_model": "SM-N975F",
"osbuildnumber": "samsung-user 7.1.2 20171130.276299 release-keys",
"platform": "smba"
}
}

Code#