# Affiliate network API vs postback: which one should report your sales?

> Postbacks are instant, API syncs catch what postbacks miss. How each works, where each fails, which networks offer which, and when to run both at once.

Source: https://hoplytic.com/blog/network-api-vs-postback · Updated 2026-11-28 · Hoplytic Guides

Video version (87 seconds): [https://hoplytic.com/video/network-api-vs-postback.mp4](https://hoplytic.com/video/network-api-vs-postback.mp4)

## Video transcript

Network API or postback: which should you use to track affiliate sales? Usually both.

With a postback, the network calls your tracker. With an API sync, your tracker asks the network. A postback arrives seconds after the sale. An API sync arrives on the next run. An API picks up reversals and approvals on the next sync. A postback only does if it fires again. A failed postback is silent. A failed API shows an expired key or permission error.

Choose a postback when you send sales back to ad platforms, when you test offers quickly, or when the network has no publisher API.

Choose the API when the network sends no postbacks, when reversals matter, when you promote many offers, or when you want history.

A postback can fail without anyone noticing. An API sync catches those and updates statuses, while the postback gives you speed. Just match sales by the network's transaction ID, so a sale arriving twice counts once.

Use the least access that works: a read-only key. Check the first sync by comparing last week's sales with the network's report. Watch for expiry, and replace a leaked key at once.

Hoplytic gives you one hosted postback URL, plus API connections that sync hourly. Using a postback and an API on the same network counts each sale once.

The full guide is right below. Hoplytic: ad tracking made simple.

## Key points

- A postback is pushed by the network the moment it records a sale; an API sync is pulled by your tracker on a schedule.
- Postbacks win on speed, which matters when you send sales back to an ad platform; APIs win on completeness and status updates.
- Many retail networks such as Awin, CJ and Impact rarely offer publisher postbacks, so an API or report upload is the only automatic option.
- Running both is safe and often best, as long as the tracker matches sales by the network's transaction ID.

There are two automatic ways for an affiliate network to tell your tracker about a sale. It can call your tracker (a postback), or your tracker can ask it (an API sync). They are not competitors. Each covers the other's blind spots.

**Short answer:** use a postback where the network offers one, because it is instant and works per offer. Add an API connection where the network has a publisher reporting API, because it catches missed postbacks and later status changes such as reversals. For networks with neither, upload their report.

## How each one works

**Postback.** You paste your tracker's URL into the network, with the network's tokens in it, for example `https://your-tracker.example/pb/KEY?click_id={aff_sub}&payout={payout}&txid={transaction_id}`. When a sale happens, the network fills the tokens and calls the URL. Your tracker matches the click ID and records the sale. The full mechanics are in [what is a postback URL](https://hoplytic.com/blog/postback-url).

**API sync.** You give your tracker a read-only API key from your network account. On a schedule, the tracker asks the network's reporting API for new and changed transactions, reads the sub-ID that carries your click ID, and records or updates each sale.

## Side by side

| | Postback | API sync |
| --- | --- | --- |
| Speed | Seconds after the network records the sale | On the next sync run (hourly, daily) |
| Who starts it | The network | Your tracker |
| Setup | Per network, sometimes per offer | Once per account, covers every offer |
| Status changes | Only if the network fires again on approval or reversal | Picked up on the next sync |
| Past sales | Never; only sales after setup | Can import history (how far back depends on the API) |
| When it fails | Silently: a wrong token, a missing offer, a tracker that was down | Visibly: an expired key or permission error, which the tracker can show |
| Availability | Common on CPA platforms (TUNE, Everflow, CAKE, Affise) | Common on big retail networks (Awin, CJ, Impact, Partnerize) |

## When the postback is the better choice

- **You send sales back to an ad platform.** Push networks and Meta optimize faster on fresh conversions. An hour's delay is acceptable, a day's delay hurts.

- **You test offers quickly.** Seeing the first sale within a minute of the click tells you the tracking chain works.

- **The network has no publisher API**, which is common on smaller CPA networks.

## When the API is the better choice

- **The network doesn't send publisher postbacks.** Awin, CJ, Impact, Partnerize and ClickBank usually don't. Without an API you'd be uploading reports by hand.

- **You care about approved money.** Retail sales get reversed for returns and cancellations days or weeks later. An API sync sees the new status; a postback that fired once on the original sale doesn't.

- **You promote many offers.** One key covers every advertiser on the network, while a per-offer postback has to be added to each new offer.

- **You need history.** Connecting an API can bring in past sales; a postback starts from today.

## Why running both is often best

A postback can fail for reasons nobody notices: a new offer without the postback, a token typo, a network outage. An API sync acts as the safety net, and it updates statuses the postback never reports. Meanwhile the postback gives you speed. The only requirement is that your tracker recognizes the same sale arriving twice. That means matching by the network's transaction ID, not by payout or time. See [duplicate conversions](https://hoplytic.com/blog/duplicate-conversions) for why.

## Setting up an API connection well

- **Find the right credentials.** Networks usually need two things: an account or publisher ID and a token or key. They're under account settings, API, or developer tools.

- **Use the least access that works.** Your tracker only needs to read transactions. If the network lets you choose permissions, pick reporting or read-only.

- **Check the first sync against the network.** Compare last week's sales count in the tracker with the network's own report. They should match, apart from sales whose sub-ID was empty.

- **Watch for expiry.** Some tokens expire or are revoked when you change your password. A tracker that shows the connection's status saves you from finding out at the end of the month.

- **Replace a leaked key at once.** Create a new one in the network, revoke the old one, and reconnect.

## The things an API can't fix

- **A missing click ID.** If your click ID never reached the network's sub-ID, neither method can match the sale to a click. Check links with the [redirect checker](https://hoplytic.com/tools/redirect-checker).

- **Network delay.** If the merchant reports to the network late, every method is late.

- **Permissions.** Some networks issue API keys without reporting access, or only to approved publishers. An error such as 401 or 403 usually means the key, account ID or permission is wrong.

## Which networks offer what

As a rough guide: TUNE (HasOffers), Everflow, CAKE, Affise, MaxBounty, Admitad and Digistore24 send postbacks; TUNE, Everflow, CAKE and Affise also have affiliate APIs. Awin, CJ, Impact, Partnerize and ClickBank are typically API or report only. Rakuten, Amazon Associates and many smaller retail networks are mostly report download. Networks change what they offer, so check your network's tools or developer pages. Each network's sub-ID name is in [sub-ID parameters by network](https://hoplytic.com/blog/affiliate-network-sub-ids).

## How it works in Hoplytic

You get one hosted postback URL with ready-made lines for TUNE, Everflow, CAKE, Affise, MaxBounty, Admitad, Digistore24 and Takeads. [API connections](https://hoplytic.com/help/network-connections) exist for TUNE, Everflow, Awin, Partnerize, ClickBank, Impact, CJ, Affise, CAKE and Takeads: they sync every hour, import the last 90 days when you connect, and show "Needs attention" with the reason when a sync fails. Some connections are marked beta because they haven't been confirmed with a live account yet; report upload always works as a fallback. Using a postback and an API on the same network counts each sale once, matched by the transaction ID.

![Connecting a TUNE network to Hoplytic with an API key: open Networks, pick the network, paste the Network ID and API key it asks for.](https://hoplytic.com/video/howto-network-api.gif)

*Pick your network and paste the keys it asks for.*

## Questions people ask

### Is an API connection slower than a postback?

Yes, by design. A postback arrives seconds after the network records the sale; an API sync only sees it on its next run, for example within the hour.

### Do I need my affiliate manager to set up an API connection?

Usually not. Most networks let publishers create an API key or token in their own account settings. Some only give reporting access on request.

### Will I get double sales if I use both?

Not if your tracker matches by transaction ID. The same sale arriving by postback and by API should be one conversion, with the latest status.
