GET
Instance Info
Full instance details: profile, webhook config, phone_number_id, business_account_id, and Meta webhook URL.
API endpoint
https://waclient.com/api/cloud_instance_infoExample:
curl -X GET \
'https://waclient.com/api/cloud_instance_info' \
-G \
--data-urlencode 'instance_id=META68B6ED90CXXXX' \
--data-urlencode 'access_token=EMCUH3NQQK8YXXXX' \
--data-urlencode 'live=1'Response
{
"status": "success",
"message": "Success",
"data": {
"instance_id": "META68B6ED90CXXXX",
"name": "waclient",
"phone": "+1 307-XXX-XXXX",
"phone_number_id": "9029377795XXXXX",
"business_account_id": "8772623583XXXXX",
"connection_state": "connected",
"webhook": {
"webhook_url": "https://example.com/hook",
"enabled": true,
"meta_webhook_url": "https://waclient.com/api/webhook/META68B6ED90CXXXX"
}
}
}| Parameter | Description |
|---|---|
| instance_id | Meta Cloud instance ID (META prefix) |
| access_token | Your access token |
| live | Set to 1 or true to validate the Meta token live (Optional) |