Public API
The Insert Affiliate Public API lets you manage affiliates and record transactions programmatically, without going through the dashboard. It is designed for companies that want to automate affiliate management or integrate affiliate tracking directly into their own backend systems.
Enterprise Plan Only: The Public API is available exclusively to Enterprise plan customers.
What You Can Do
- Create and retrieve affiliates - add affiliates to your programme or look them up by email or short code
- Record transactions - log affiliate-driven sales directly from your backend, identified by the affiliate's email address or short code
Creating API Keys
API keys are managed from the Settings page in your Insert Affiliate dashboard.
- Go to Settings and scroll to the API Keys section
- Click Create API Key, give it a name, and select the scopes you need
- Copy the key immediately - it is only shown once
Each key is scoped to your company and can be revoked at any time from the same settings page. Include it in requests using the Authorization: Bearer <key> header.
API Reference
Full endpoint documentation, request/response schemas, and interactive examples are available in the API reference.
View API Reference