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": "",
"about": "Contact's about status",
"name": "",
"device": {
"sessionName": "Z-API",
"device_model": "Z-API"
},
"originalDevice": "iphone", "smbi", "android", "smba",
"sessionId": 175,
"isBusiness": false
}

Code#