POST
Relogin Account
Re-authenticates a logged-out account with a new Meta access token.
API endpoint
https://waclient.com/api/relogin_cloud_accountExample:
curl -X POST \
'https://waclient.com/api/relogin_cloud_account' \
-H 'Content-Type: application/json' \
--data '{
"instance_id": "META68B6ED90CXXXX",
"access_token": "EMCUH3NQQK8YXXXX",
"meta_access_token": "EAAxxxx",
"phone_number_id": "9029377795XXXXX",
"business_account_id": "8772623583XXXXX"
}'Response
{
"status": "success",
"message": "WhatsApp cloud account re-login completed successfully",
"instance_id": "META68B6ED90CXXXX",
"meta_webhook_url": "https://waclient.com/api/webhook/META68B6ED90CXXXX",
"data": {
"instance_id": "META68B6ED90CXXXX",
"connection_state": "connected",
"relogin_required": false,
"platform": "meta_cloud"
}
}| Parameter | Description |
|---|---|
| instance_id | Meta Cloud instance ID (META prefix) |
| access_token | Your access token |
| meta_access_token | New Meta Graph API access token |
| phone_number_id | Optional if already stored on the account (Optional) |
| business_account_id | Optional if already stored on the account (Optional) |