Affiliate Platforms

Affilka

How to generate your Affilka API URL and connect it to CasinoFlux

Affilka

Affilka generates the API URL directly from the Statistics report in your dashboard. The URL is created when you export the report as JSON — the browser URL of that export is what you paste into CasinoFlux.

CasinoFlux only requires the API URL for Affilka. No separate API key field is needed — authentication is embedded in the URL via a token parameter.


Before You Start

Make sure you have:

  • An approved Affilka affiliate account with dashboard access
  • The required report columns enabled on your account (see Step 2)

Step 1: Go to Reports — Statistics

In your Affilka dashboard, navigate to ReportsStatistics.


Step 2: Verify Required Columns Are Selected

Go to the Columns section and confirm the following columns are available and selected:

  • visits_count
  • registrations_count
  • depositing_players_count
  • first_deposits_count
  • first_deposits_sum
  • deposits_sum
  • ngr
  • partner_income
  • fixed_per_player
  • prequalified_players_count
  • qualified_players_count

Required columns selected in Affilka

If any of these columns are missing, contact your Affiliate Manager and ask them to enable them. Without these columns, CasinoFlux cannot build a complete picture of casino performance.


Step 3: Configure Group By

Go to the Group by tab and:

  1. Select Period — Day
  2. Toggle Brand to ON
  3. Toggle Campaign to ON

Group by Day, Brand and Campaign


Step 4: Set the Brand Filter

Go back to the Filters tab and select the brand or casino this Offer is created for.

Select brand in Filters tab

This step is especially important for multi-brand operators. Selecting the wrong brand or leaving it unfiltered will mix data across casinos and corrupt attribution.


Step 5: Apply the Filter

Click Filter to run the report with your selected settings.


Step 6: Export as JSON

Click Export report and select JSON.

Export report as JSON

A new browser tab will open displaying the casino metrics in JSON format.


Step 7: Copy the Browser URL and Paste into CasinoFlux

  1. Copy the full URL from the browser address bar of the JSON tab
  2. In CasinoFlux, go to OffersCreate Offer (or edit an existing one)
  3. Open the API Setup tab
  4. Select Affilka as the platform
  5. Paste the URL into the API URL field
  6. Save the Offer

URL Format Reference

A valid Affilka API URL looks like this:

https://primetime.partners/api/client/partner/report.json?from=2026-04-01&to=2026-04-21&period=custom&exchange_rates_date=2026-04-21&convert_all_currencies=true&conversion_currency=EUR&columns%5B%5D=visits_count&columns%5B%5D=registrations_count&columns%5B%5D=depositing_players_count&columns%5B%5D=first_deposits_count&columns%5B%5D=first_deposits_sum&columns%5B%5D=deposits_sum&columns%5B%5D=ngr&columns%5B%5D=partner_income&columns%5B%5D=fixed_per_player&columns%5B%5D=prequalified_players_count&columns%5B%5D=qualified_players_count&group_by%5B%5D=day&group_by%5B%5D=brand&group_by%5B%5D=campaign&name=&token=b7e3f1a2d4c9082e56781234abcd5678&page=1
ParameterDescription
from / toDate range — CasinoFlux replaces these dynamically
periodMust be custom
columns%5B%5DEach required metric column — all must be present
group_by%5B%5DMust include day, brand, and campaign
tokenYour authentication token — embedded automatically
pagePagination — must be 1

The exact URL will vary slightly between operators depending on their Affilka configuration. What matters is that all required columns, group-by settings, and the token are present.


Troubleshooting

JSON tab opens but data is empty — Confirm all columns are enabled and the brand filter is correctly set. Re-run the report and re-export.

API sync fails in CasinoFlux — Check that the URL includes group_by%5B%5D=day, brand, and campaign. A URL without these will not return usable data.

Missing metrics — Verify with your Affiliate Manager that all required columns are enabled on your account.

Token expired — Affilka tokens can expire. Log back in, re-run the export, and copy the new URL with a fresh token.


Need help? Contact CasinoFlux support with your Affilka brand name and Offer details.

On this page