Install Postbacks and Webhooks, Explained
A postback tells an ad network its click became an install. A webhook tells your own server. How both work, and how to receive them safely.
Short answer
What is the difference between an install postback and a webhook?
A postback tells an ad network that its click became an install, and a webhook sends the same call to your own server. A postback is a GET request that carries the network’s click id in the URL. A webhook is a POST request with a JSON body that carries the install, the link and the event.
Key takeaways
- No click id on the link means no postback, so test one real click end to end.
- A safe receiver checks an HMAC-SHA256 signature, rejects requests older than 5 minutes and ignores delivery ids it has already processed.
- Meta and Google only accept data from certified partners or their own SDKs, so postbacks can’t feed their campaign optimisation.
Ad networks and affiliate platforms pay per install, so they need to hear about each one. Your attribution provider tells them by calling a URL they give you: a postback. Point the same call at your own backend and it is a webhook.
How a click id makes the round trip
Ad network
Appy
- 01The click
GET acme.appy.to/spring?clickid=a1b2c3The network adds its click id to your link.
- 02The install
install → /spring clickid = a1b2c3The first launch is matched to that click.
- 03The postback
GET postback.network.example/install ?click_id=a1b2c3The same id goes back. The network counts a conversion.
Postback
- To an ad network
- GET, values in the URL
- Carries the network’s click id
Webhook
- To your own server
- POST, JSON body
- Carries the install, link and event
A safe receiver checks four things
Verify an Appy webhook
Node.js
import crypto from 'node:crypto';
export function verifyAppySignature(header, rawBody, secret) {
const parts = Object.fromEntries(header.split(',').map((part) => part.split('=')));
const age = Math.abs(Date.now() / 1000 - Number(parts.t));
if (!parts.t || !parts.v1 || age > 300) return false;
const expected = crypto.createHmac('sha256', secret).update(`${parts.t}.${rawBody}`).digest('hex');
if (parts.v1.length !== expected.length) return false;
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}When your endpoint is down
10 s
timeout per request
5
retries on 429, 5xx or timeout
12 h
wait before the last retry
30 days
delivery log
Where Appy sends installs
On the Enterprise plan, up to 10 postbacks per app, each tested from the dashboard before it goes live.
New install
signed and retried
- Affiliate or CPI networkIts click id, back
- Your backendFull JSON webhook
- Your CRMPurchases only
- Meta or Google optimisationNot supported
Read next
Questions
What is an S2S postback?
A server-to-server call that tells an ad network a click became an install, with its click id.
How do I avoid double counts?
Retries reuse the same delivery id. Ignore ids you have already processed.
How do I know a webhook is really from Appy?
Check the Appy-Signature header and reject anything older than five minutes.
Can I send postbacks to Meta or Google Ads?
Not for campaign optimisation. Postbacks suit affiliate networks, influencer tools and your own systems.
Continue exploring
How to Test the Google Play Install Referrer on a Real Device
A build from Android Studio never has an install referrer. How to get a real one with an encoded Play URL, an internal testing track and a Kotlin read on first launch.
How to Measure App Installs Without Fingerprinting
Apple doesn’t allow fingerprinting even when users agree to tracking, and EU regulators treat IP-based tracking as access to the device. What still measures installs with proof on iPhone and Android, and a plan that never has to guess.
Apple Ads Attribution Without an MMP
Apple tells you which campaign and keyword brought an install. One token from the app, one call from your server, no IDFA and no tracking prompt.
Looking for something else? Browse all topics on the blog.
Send every install where it needs to go
Appy attributes installs from links, QR codes, Apple Ads, Google Ads and Meta, and sends each one on, signed and retried. Every Appy link already puts its name in the Google Play referrer, on the Free plan too.