Contacts
Get User Info
POST
/api/v1/user/infoGet WhatsApp details (status text, picture id, devices) for one or more numbers. Send full chat ids, not plain numbers.
Parameters
- PhonearrayRequired
Full chat ids to look up, e.g. [email protected]. Plain numbers don't work here.
| Name | Type | Required | Description |
|---|---|---|---|
| Phone | array | Yes | Full chat ids to look up, e.g. [email protected]. Plain numbers don't work here. |
Code Examples
cURL
curl -X POST "https://orvachat.com/api/v1/user/info" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"Phone": [
"[email protected]"
]
}'Response Example
200 OK
{
"code": 200,
"data": {
"Users": {
"[email protected]": {
"Devices": [],
"PictureID": "",
"Status": "",
"VerifiedName": null
},
"[email protected]": {
"Devices": [
"923001234567.0:[email protected]"
],
"PictureID": "1582328807",
"Status": "Hey there!",
"VerifiedName": null
}
}
},
"success": true
}