For the complete documentation index, see llms.txt. This page is also available as Markdown.

❗API Keys and URL

TheAffiliatePlatform (TAP) has two kinds of API keys:

Send the key in the authorization header of every API call. The API host depends on your setup, so always use the host that is shown next to the key (see below).

Obtaining API key for Affiliate

The API must be enabled for the affiliate first. To enable it and create a key in the TAP BackOffice:

  1. Open the affiliate and go to the Overview tab.

  2. In the API block, turn the switch on (Enabled).

  3. Click Save & Create API key.

  4. Confirm the action. A new key cancels all earlier keys of this affiliate.

  5. The API key Created! window shows the key. Copy it and give it to the affiliate in a safe way.

When the affiliate already has a key, the button is + Re-generate API key. To cancel the key, turn the switch off and click Save & Delete API key.

Affiliates can create their own key

When the API is enabled for an affiliate, the Account Settings page of their affiliate account has an API key block. There the affiliate can:

  • see the API host to use ("Important, your API host is: …");

  • click Create API Key to make a new key.

The new key is also shown only once, and it cancels the earlier keys. The affiliate cannot see an existing key again. If they lose it, they create a new one, or you create one for them in the BackOffice.

Obtaining API key for Operator

  1. In the TAP BackOffice, go to Settings (in the Configuration menu).

  2. Find the field API Key to access Media reports, Balance API and Affiliates data.

  3. Click Generate API Key and confirm.

The key appears in the field and stays visible there. Under the field, the BackOffice shows your API host: "Important, your API host is: …". Use this host for all API calls.

The field API Key to submit registrations and activities on the same page is a different key. It is used to send registrations, deposits, withdrawals and wagering activities to TAP. Ask your account manager for its documentation.

Last updated

Was this helpful?