Skip to main content
Callbacks (postbacks) let you receive real-time notifications about events: new subscribers, transactions, and Smart Link clicks. Data is sent to your URL with populated macros.

Available Events

Configuration

Callbacks can be configured at three levels:
  1. Default — in account settings. Applied to all new campaigns.
  2. Per campaign — individual settings for a specific campaign.
  3. Per Smart Link — configured when creating a Smart Link.
Each event can be configured separately:
  • 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)

Campaign Stop (marketing_stop)

Examples

GET request for a tracker:
POST request with JSON: URL: 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