GET
Instance Info
Full instance details: connection, profile, webhook, and WhatsApp version.
API endpoint
https://waclient.com/api/instance_infoExample:
curl -X GET \
'https://waclient.com/api/instance_info' \
-G \
--data-urlencode 'instance_id=6A4B02A1XXXX' \
--data-urlencode 'access_token=EMCUH3NQQK8YXXXX'Response
{
"status": "success",
"message": "Success",
"data": {
"instance_id": "6A4B02A1XXXX",
"connection_state": "connected",
"webhook": {
"webhook_url": "https://example.com/hook",
"enabled": true
},
"account": {
"phone": "20100981XXXX",
"status": 1
}
}
}| Parameter | Description |
|---|---|
| instance_id | WhatsApp Web instance ID |
| access_token | Your access token |