Skip to main content

1. Get your API key

Log in to Tapfiliate and copy your API key from your profile settings. The help center shows where to find it, together with your account ID that tapfiliate.js needs.
Your API key can approve commissions. Keep it on your server: never put it in frontend code, a public repository or a support ticket.

2. Make your first request

List the programs in your account:
A 200 response with a JSON array of programs means your key works. See Authentication if you get 401 or 403.

3. Track a conversion

Pick the way that matches where you know about the sale.
Add tapfiliate.js to every page so clicks on affiliate links are detected:
Then report the sale on your thank-you page:
The conversion is only created when the visitor came through an affiliate. See JavaScript tracking for customers, trials and multiple commissions.

4. Check it in your dashboard

Open the conversions report in your Tapfiliate dashboard: the conversion appears there with its commission. Run a test like this before you launch your program, so you know tracking works end to end.

Next steps

API reference

Pagination, rate limits and every endpoint.

Webhooks

React to new conversions and commissions.