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
}
}
}
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
}
}
}
Your authorization key header
Name of the instance
Created
The response is of type object
.