curl -X POST https://api2.ecomailapp.cz/account/settings/webhook \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-webhook-url.com"
}'
{
"success": true
}
Set the target webhook URL for campaign statistics.
curl -X POST https://api2.ecomailapp.cz/account/settings/webhook \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-webhook-url.com"
}'
{
"success": true
}
curl -X POST https://api2.ecomailapp.cz/account/settings/webhook \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-webhook-url.com"
}'
{
"success": true
}