Configure webhook callback format
documentedDefine how webhook payloads are formatted.
POST https://goapi.unisender.ru/ru/transactional/api/v1/callback-format.jsonWebhooksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://goapi.unisender.ru/ru/transactional/api/v1/webhook/set.json" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-API-KEY: {{UNISENDER_API_KEY}}" \
-d '{"url": "{{$webhook_url}}", "status": "active", "event_format": "json_post", "delivery_info": 0, "single_event": 0, "max_parallel": 10, "events": {"spam_block": ["*"], "email_status": ["delivered","opened","clicked","unsubscribed","subscribed","soft_bounced","hard_bounced","spam"]}}'