> ## Documentation Index
> Fetch the complete documentation index at: https://docs.linkrunner.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Affiliate APIs

Source: https://docs.linkrunner.io/affiliate-partners/affiliate-apis

Server-to-server APIs for affiliate partners

Use these APIs to send Linkrunner traffic from your server instead of through a tracking link. The advertiser's app ID or link domain, plus your campaign code, identify the traffic. Every request must also carry your partner token in the `X-Linkrunner-Token` header. Generate it in your affiliate dashboard under [**Settings → S2S Credentials**](https://dashboard.linkrunner.io/affiliate/settings?tab=s2s).

- [S2S Click API](https://docs.linkrunner.io/api-reference/s2s-clicks)

Report a click from your server when the user goes straight to the store. Accepts AppsFlyer parameter names.

- [S2S Impression API](https://docs.linkrunner.io/api-reference/s2s-impressions)

Report an ad impression so an install without a click can be credited to your view.

- [CTV Impression API](https://docs.linkrunner.io/api-reference/ctv-impressions)

Report a connected TV ad impression with the TV's IP address so installs from the same home can be credited to it.

For setup steps and how attribution works, start with the guides: [Server-to-Server Clicks](https://docs.linkrunner.io/affiliate-partners/s2s-clicks), [Server-to-Server Impressions](https://docs.linkrunner.io/affiliate-partners/s2s-impressions) and [Connected TV Impressions](https://docs.linkrunner.io/affiliate-partners/ctv-impressions).

**Need help?** Contact <support@linkrunner.io>
