Sign in

Set webhook

documented

Create or update a webhook for event notifications.

POST https://goapi.unisender.ru/ru/transactional/api/v1/webhook/set.jsonWebhooksno implementation yet0 runs
No 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://go1.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": "{{$hook_status}}", "event_format": "{{$event_format}}", "delivery_info": {{$delivery_info}}, "single_event": {{$single_event}}, "max_parallel": {{$max_parallel}}, "events": {"spam_block": ["*"], "email_status": ["delivered","opened","clicked","unsubscribed","subscribed","soft_bounced","hard_bounced","spam"]}}'