Available Events
Configuration
Callbacks can be configured at three levels:- Default — in account settings. Applied to all new campaigns.
- Per campaign — individual settings for a specific campaign.
- Per Smart Link — configured when creating a Smart Link.
- URL with macros
- HTTP method — GET or POST
- Request body (POST only) with macros
- Headers — custom HTTP headers
Macros
Subscriber (new_subscriber)
Transaction (new_transaction)
Smart Link Click (smartlink_click)
Campaign Stop (marketing_stop)
Examples
GET request for a tracker:https://api.example.com/webhook
Body:
Testing
The callback settings interface has a Test button — it sends a test request with populated macros so you can verify your integration before going live.Request Processing
- Requests are sent with User-Agent:
OnlyTraffic-postback - Timeout: 20 seconds
- On connection errors (timeout, refused, SSL) — up to 3 retries
- Log of all sent callbacks is available in the Postbacks section