WA Client
POST

Set Webhook

Enable or disable a webhook endpoint for real-time events.

API endpoint
https://waclient.com/api/set_webhook
Example:
curl -X POST \
  'https://waclient.com/api/set_webhook' \
  -H 'Content-Type: application/json' \
  --data '{
    "webhook_url": "https://webhook.site/xxxx",
    "enable": true,
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Webhook URI Saved"
}
ParameterDescription
webhook_urlHTTPS endpoint that receives events
enabletrue / false or 1 / 0
instance_idWhatsApp Web instance ID
access_tokenYour access token

Command Palette

Search documentation endpoints.

Esc