# Keepface Affiliate API v2

**Canonical:** https://apis.io/apis/keepface/affiliate/  
**Provider:** KeepFace — https://apis.io/providers/keepface/  
**Base URL:** https://api.keepface.ai/api/v2  
**Documentation:** https://help.keepface.com/brand/affiliate-program/api-reference/

Keepface Affiliate API v2 is one of 2 APIs that [KeepFace](https://apis.io/providers/keepface/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Affiliate Marketing, Attribution, Webhooks, and Conversion Tracking. The published artifact set on APIs.io includes an API reference, API documentation, and rate-limit docs.

The public server-side affiliate tracking API for Keepface. Brands POST sale and refund events from their own backend (or from Shopify, or from the browser JS pixel) and Keepface attributes them to the creator whose link or discount code drove the sale. Every write is HMAC-SHA256 signed with a per-brand secret over a timestamped payload, replay-protected at a 300 second tolerance, and idempotent on (brand_id, order_id). A public click-resolve endpoint turns a short affiliate token into a destination URL, cookie window and campaign status. Rate limits and Retry-After are published per endpoint, and the API returns X-RateLimit-Limit / X-RateLimit-Remaining on live responses.

## Machine-readable artifacts (7)

- **APIReference** — https://help.keepface.com/brand/affiliate-program/api-reference/
- **Documentation** — https://help.keepface.com/brand/affiliate-program/postback-hmac-integration/
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/keepface/refs/heads/main/asyncapi/keepface-affiliate-webhooks.yml
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/keepface/refs/heads/main/errors/keepface-problem-types.yml
- **RateLimits** — https://raw.githubusercontent.com/api-evangelist/keepface/refs/heads/main/rate-limits/keepface-rate-limits.yml
- **DataModel** — https://raw.githubusercontent.com/api-evangelist/keepface/refs/heads/main/data-model/keepface-data-model.yml
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/keepface/refs/heads/main/apis.yml

## Other KeepFace APIs (1)

- [Keepface MCP Server](https://apis.io/apis/keepface/mcp/)

## Tags

Affiliate Marketing, Attribution, Webhooks, Conversion Tracking

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/keepface/affiliate/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/keepface/.
