GET
Get Profile
Get a contact profile picture and business profile info.
API endpoint
https://waclient.com/api/get_profileExample:
curl -X GET \
'https://waclient.com/api/get_profile' \
-G \
--data-urlencode 'contact_id=20100981XXXX' \
--data-urlencode 'instance_id=6A4B02A1XXXX' \
--data-urlencode 'access_token=EMCUH3NQQK8YXXXX'Response
{
"status": "success",
"message": "Success",
"data": {
"contact_id": "[email protected]",
"avatar": "https://pps.whatsapp.net/...",
"business": null
}
}| Parameter | Description |
|---|---|
| contact_id / number | Phone number or JID |
| instance_id | Your instance ID |
| access_token | Your access token |