cURL
curl --request POST \ --url https://{server-url}/webhook/set/{instance} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data '{ "enabled": true, "url": "<string>", "webhookByEvents": true, "webhookBase64": true, "events": [ "APPLICATION_STARTUP" ] }'
{ "webhook": { "instanceName": "teste-docs", "webhook": { "url": "https://example.com", "events": [ "APPLICATION_STARTUP" ], "enabled": true } } }
Set Webhook for instance
Your authorization key header
Name of the instance
enable webhook to instance
Webhook URL
Enables Webhook by events
Sends files in base64 when available
Events to be sent to the Webhook
1
Show child attributes
Created