• Home
  • Features  
  • Integrations
  • Pricing
  • Demo

API overview

In this article:

API overview

Affilimate currently offers a basic API which is available to all publishers for the purpose of more customized integrations.

Please note that in order to use these APIs, you will need the help of a developer and such implementation falls outside the scope of standard support. Most publishers will use our default setup without any custom code.

APIs are grouped into the following categories:

  • Basic API - Utility endpoints that allow you to trigger core system functions, such as a site scan and link import.
  • Advanced API (Coming Soon) - Endpoints for advanced reporting, analysis, and transaction import and export.

Creating and revoking API tokens

To get started, visit the General Settings of your account and scroll down to the section called Secret API Tokens.

To create a new token

  1. Click the button called Create new token
  2. Provide a name for the token, such as the place where you intend to use or store the token
  3. Press Create token
  4. Copy the resulting token, and store it in a secure place
  5. Use the token to authenticate

To revoke an existing token

  1. In the list of Secret API Tokens, click the menu icon on the right side of the row containing the token you want to revoke
  2. Click the menu item called Revoke token
  3. Confirm revoking the token


The resulting API token is a JWT that encodes information Affilimate needs to identify your space and grant access to specific resources.

You'll authenticate using Bearer Auth, and set the API token in the authorization header of all requests. For example:

curl \
     -H "Authorization: Bearer REPLACE_WITH_YOUR_SECRET_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{ "url": "" }' \

Have questions? Contact us at anytime.

Last Updated 10/17/2022

Related articles

Try the affiliate analytics platform for content websites

Affilimate aggregates all your affiliate commissions in one place, and then adds the missing attribution data you need to maximize your affiliate revenue from every post you publish.

Create your dashboard   Get a demo

 Free 15-day trial   No credit card required

Affilimate Analytics App

Hey, I'm Monica.

I'm the co-founder of Affilimate.

Once per month, I send insider tips and strategies for affiliates in this newsletter.

It's short, practical, and original. Try it out:

No spam, unsubscribe anytime.

AffilimateBy Adaero Software