---
updatedAt: 2026-10-08T07:43:39.000Z
agentTools:
  siteIndex: https://documentation.bloomreach.com/llms.txt
  projectIndex: https://documentation.bloomreach.com/engagement/llms.txt
---

# SKLIK Audiences integration

[Sklik](https://www.seznam.cz/reklama/cz/obsahovy-web/sluzba-sklik/?_gl=1*39glxs*_gcl_au*NDgyNzY1MzcuMTcxMTQ2ODQ4OA) is a Czech ad network under the Seznam Group. This guide covers everything needed to set up the integration from scratch.

This integration is based on the [Sklik API](https://api.sklik.cz/drak/index.html). The APIs used are:

* [client.loginByToken](https://api.sklik.cz/drak/client.loginByToken.html)
* [retargeting.emails.addEmail](https://api.sklik.cz/drak/retargeting.emails.addEmail.html)
* [retargeting.emails.removeEmail](https://api.sklik.cz/drak/retargeting.emails.removeEmail.html)

Bloomreach isn't responsible for changes made in the aforementioned third-party documentation.

## Prerequisites

Before you start, make sure you have the following:

* A SKLIK account with access to retargeting lists.
* A SKLIK API token—find this in your SKLIK account settings.
* A retargeting list ID—find this in your SKLIK retargeting lists.
* Your Bloomreach project token—go to **Settings** > **Project**.
* Bloomreach API credentials (API group ID and API secret)—go to **Settings** > **Access Management** > **API keys** and create credentials in a private group.

> ⚠️ Important
>
> Create your Bloomreach API credentials before starting the scenario setup. If you create them mid-setup, you'll lose your progress.

## Create the catalog

The authentication flow stores the SKLIK session token in a catalog. Create this catalog before setting up the scenario.

1. Go to **Imports** > **New import** > **Catalog**.
2. Name the catalog `sklik_session_token`.
3. Select the copy+paste option and paste the following:

```
item_id,token
token,123abc
```

4. Set the token column as a string.
5. Run the import. Skip the searchable columns step.

Once the import finishes, open the catalog and note the catalog ID from the URL—you'll need it later.

<Image src="https://files.readme.io/bf26bab-Screenshot_2024-04-12_at_11.01.43.png" align="center" border={true} />

## Set up the authentication scenario

The authentication scenario retrieves and stores a fresh SKLIK session token throughout the day. You only need one authentication scenario per project. There's no need to create a separate one for each audience scenario.

### Configure the trigger

The session token needs to be refreshed hourly, but the UI doesn't have an "every hour" option. To work around this:

1. Set the trigger to **Repeat daily**.
2. Add all 24 hour entries manually.

### Add the API user condition

Add a condition to filter on `registered = sklik_api_user`. This ensures the scenario only runs for the dedicated API user.

> 🛑 Warning
>
> Without this condition, the scenario triggers for your entire customer database.

To set this up:

1. Create a customer profile with the attribute `registered` set to `sklik_api_user`.
2. Add a condition node to the scenario that filters on this attribute.

<Tabs>
  <Tab title="Webhook 1 – Log in and get session token">
 This webhook calls the <Anchor target="_blank" href="https://api.sklik.cz/drak/client.loginByToken.html">client.loginByToken API</Anchor> to retrieve a session token.

#### Endpoint

```text POST
https://api.sklik.cz/drak/json/client.loginByToken
```

#### Payload

The SKLIK token must be a string directly inside the array—not wrapped in an object:

```json
[
  "your_sklik_token_here"
]
```

> ⚠️ Important
>
> Using `{"token": "..."}` causes a `400 Bad arguments` error from the SKLIK API.

#### Settings

Turn on Process response as JSON. Without this, `webhook["session"]` returns empty and the catalog won't update.

No Authentication or Headers are needed.
  </Tab>

  <Tab title="Webhook 2 – Save session token to catalog">
   This webhook saves the session token from Webhook 1 to the `sklik_session_token` catalog.

> ⚠️ Important
>
> Create the HTTP Basic authentication integration in **Settings** > **Integrations** > **Authentication** before opening the scenario. If you create it mid-setup, you'll lose your progress.

#### Authentication

Select the HTTP Basic authentication integration and use the following credentials:

| Field    | Value                   |
| -------- | ----------------------- |
| Username | Bloomreach API group ID |
| Password | Bloomreach API secret   |

#### Headers

- Key: Content-Type
- Value: application/json

#### Endpoint

```text POST
https://api.exponea.com/data/v2/projects/<project_token>/catalogs/<catalog_id>/items/token/partial-update
```

Find the catalog ID in the catalog's URL.

#### Payload

```json
{
	"properties": {
		"token": {{- webhook["session"] | json -}}
	},
	"upsert": false
}
```
  </Tab>
</Tabs>

## Set up the audience scenario

Once the authentication scenario is running, set up the audience scenario to add and remove customers from your SKLIK retargeting list. Define your customer segment and connect it to the audience webhook.

## Add customers to an audience

This webhook calls <Anchor target="_blank" href="https://api.sklik.cz/drak/retargeting.emails.addEmail.html">retargeting.emails.addEmail</Anchor> to add customers to a SKLIK retargeting list.

<Image src="https://files.readme.io/482668a-Screenshot_2024-04-14_at_15.20.22.png" align="center" />

### Batch mode

Turn on **Batch mode** in the webhook editor. Without this, emails are sent one by one.

### Endpoint

```text POST
https://api.sklik.cz/drak/json/retargeting.emails.addEmail
```

```json Root
{%- set token = catalogs.sklik_session_token.item_by_id('token')['token'] -%}

{%- set retargeting_list_id = 123456789 -%}

[
	{
    "session": {{- token | json -}}
},
{
    "retargetingListId": {{- retargeting_list_id | json -}},
    "provider": "bloomreach",
    "emails": 
    [
    {% output customers separated by ",\n  " %}
    ]
}

]
```

```json Customer
{{- customer["email"] | json -}}
```

## Verification and testing

The most efficient way to verify the integration is to compare the size of an audience created with this API against a manually imported audience from the same customer list.

You can also push valid `@seznam.cz`, `@post.cz`, and `@email.cz` customers who are active email subscribers to the SKLIK audience—you should see a \~100% match rate. For example, 1,000 customers pushed should produce an audience of \~1,000.

Match rates for other domains such as `@gmail.com` or `@centrum.cz` will be lower. The total number of matched contacts also depends on consent on the Seznam site—if a consented user doesn't have consent on the Seznam site, Seznam won't match them.