Set up outbound postbacks
Create outbound postback configs so Datahubb notifies a traffic source or an external supplier when a lead, click, call, or exit converts.
This article shows how to set up outbound postbacks so Datahubb tells a traffic source or an external supplier when a conversion happens.
Outbound postbacks are how a partner learns that a lead sold, a click converted, a call paid, or an exit offer converted. The recipient is a traffic source or a supplier, never a buyer.
What outbound postbacks can do
Datahubb can notify the recipient's postback URL when subscribed events fire, with the payout and ids they need to credit the conversion.
| Capability | What you can do |
|---|---|
| Event subscriptions | Fire on lead, click, exit, or call outcomes |
| Per recipient | Each traffic source or supplier gets its own config(s) |
| Flexible payload | URL query, form body, or JSON body |
| Tokens | Send {{event.external_id}}, {{event.payout}}, {{event.status}}, lead fields, and more |
| Gates | Min payout, campaign scope, click-type filters, advanced rules |
| Fallback configs | Optional fallback tier if no primary config matches |
| HMAC signing | Optional signed requests for networks that verify signatures |
| Diagnostics | Resolution Trace and outgoing logs show why a config fired or skipped |
Trigger events (common)
Lead lifecycle (conversion notices to the network):
lead_sold— umbrella for accepted or stored sold outcomes (typical default)lead_accepted,lead_pending,lead_rejected,lead_stored, and related statuses when the network needs finer detaillead_manual_fire— re-fire from tools such as Lead Import
Click / exit / call:
click_converted— optionally filter tocpc,cpl, orcpaexit_offer_convertedcall_converted
What you send the network
Prefer v2 tokens in double braces. Common conversion fields:
{{event.external_id}}— id the network already knows{{event.status}}— outcome{{event.payout}}— amount you are paying the traffic source for this event{{event.id}}/{{event.timestamp}}- Lead fields such as
{{lead.payload.email}}when the network requires them
Admin-only tokens (for example revenue or profit) are not available to traffic-source users.
Who receives it
A postback config is addressed to one recipient, and the type decides which leads it can ever fire for.
| Recipient type | Fires for | Use it when |
|---|---|---|
| Traffic source | Leads that carry a traffic source, which means your own internal supplier's affiliate channels | You pay affiliates or networks per conversion |
| Supplier | Leads from an external supplier, which never carry a traffic source | An external supplier is on a CPA contract and needs to hear that its lead converted |
Buyers are never outbound postback recipients. A buyer is told about a lead through its delivery method, not a postback.
Prerequisites
- Postbacks feature enabled
- The recipient account: either an internal supplier with at least one traffic source, or an external supplier
- The recipient's postback URL and the query or body fields they expect
Create an outbound postback config
- Open Postbacks in the sidebar.
- Click Create.
- Choose the recipient type, Traffic source or Supplier, then pick the account that should be notified.
- Subscribe to the events the network should hear about (start with
lead_soldfor sold-lead conversion). - Enter the network’s postback URL and HTTP method.
- Choose a body mode if needed: none (URL only), form, or JSON.
- Map tokens into the URL or body so the network receives external id, status, and payout.
- Optional gates:
- Min payout — skip low-value fires
- Campaign scope — only fire for selected campaigns
- Click-type filter — on
click_converted - Rules — advanced match conditions
- Signing secret — if the network verifies HMAC
- Save.
- Use the Test panel, then confirm in outgoing postback logs. If nothing fired, open the Resolution Trace.
Traffic-source users only see and edit configs for themselves.
Expected result
- When a subscribed conversion happens for that recipient, Datahubb calls their URL
- The recipient can credit the conversion using the external id and payout you sent
- Logs show the request; Resolution Trace explains any skip
Troubleshooting
- Nothing fired — wrong trigger, inactive config, or gates (
min_payout, scope, rules, click type) - Network got empty ids — map
{{event.external_id}}(and ensure the lead was submitted with that external id) - Wrong payout — confirm traffic-source pricing and which event you subscribed to
- Need Meta pixel instead of a custom URL — use the Meta CAPI postback preset for that traffic source
Related articles
Frequently asked questions
Comments
No comments yet — be the first to share your thoughts.