Introduction
The Qliker API is a powerful tool that opens up a world of possibilities for harnessing the potential of click tracking and analytics. Designed to seamlessly integrate with your applications, websites, and services, the Qliker API empowers you to take control of your data and make informed decisions based on real-time insights.
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking on API (https://qliker.io/app/api) and Generate API token.
Tracking Links
APIs for managing tracking links
GET v1/links
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/links?skip=12&take=10&group_id=1&include_archived=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/links"
);
const params = {
"skip": "12",
"take": "10",
"group_id": "1",
"include_archived": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/links',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'skip' => '12',
'take' => '10',
'group_id' => '1',
'include_archived' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success",
"links": [
{
"id": 1,
"name": "Dr. Adalberto Beer",
"slug": "dr-adalberto-beer",
"group_id": null,
"archived": 0,
"created_at": "2023-08-08 11:33:19",
"updated_at": "2023-08-08 11:33:19"
},
{
"id": 2,
"name": "Bonita Carter I",
"slug": "bonita-carter-i",
"group_id": null,
"archived": 0,
"created_at": "2023-08-08 11:33:19",
"updated_at": "2023-08-08 11:33:19"
},
{
"id": 3,
"name": "Kenneth Kemmer",
"slug": "kenneth-kemmer",
"group_id": null,
"archived": 0,
"created_at": "2023-08-08 11:33:19",
"updated_at": "2023-08-08 11:33:19"
}
]
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET v1/links/details
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/links/details?id=17" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/links/details"
);
const params = {
"id": "17",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/links/details',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'id' => '17',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success",
"link": {
"id": 1,
"name": "Dr. Adalberto Beer",
"slug": "dr-adalberto-beer",
"group_id": null,
"primary_url": "https://page.programmer.in.rs/page.php",
"domain_id": null,
"url_backup": null,
"url_mob": null,
"url_mob_ios": null,
"url_repeart": null,
"blocked_url": null,
"archived": 0,
"created_at": "2023-08-08 11:33:19",
"updated_at": "2023-08-08 11:33:19"
}
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET v1/links/stats
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/links/stats?links_id=9&from=2023-04-14&to=2023-04-14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/links/stats"
);
const params = {
"links_id": "9",
"from": "2023-04-14",
"to": "2023-04-14",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/links/stats',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'links_id' => '9',
'from' => '2023-04-14',
'to' => '2023-04-14',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success",
"stats": {
'id': 1,
'tcl': 21667,
'ucl': 20623,
'gur': 76.4%,
'ipq': 89.3%,
'fcl': 0,
'bcl': 0,
'act': 44,
'acr': 0.2%,
'eng': 0,
'ecr': 0%,
'usl': 9,
'uscr': 0%,
'rsl': 0,
'rscr': 0%,
'recent_clicks': '2023-04-25 10:28:17',
'recent_actions': '2023-04-25 10:28:17',
'recent_engagements': '2023-04-25 10:28:17',
'recent_sales': '2023-04-25 10:28:17'
}
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE v1/links/{link_id}
requires authentication
Example request:
curl --request DELETE \
"https://api.qliker.io/v1/links/14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/links/14"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.qliker.io/v1/links/14',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success"
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH v1/links/{link_id}
requires authentication
Example request:
curl --request PATCH \
"https://api.qliker.io/v1/links/1?name=My+Rotator&primary_url=my-rotator&track_link=my-rotator&domain_id=18&cloak=1&cloak_title=My+Title&cloak_descr=Description+text&cloak_img_url=https%3A%2F%2Fqliker.test%2Fimg%2Flogo.png&frontend=1&cost=0.5&cost_type=total&cpcfilter=1&geotarget_add=1&geotarget_countries_inc=RS%7CHR%7CEN&geotarget_countries_block=RS%7CHR%7CEN&browsertarget_add=1&browsertarget_list_inc=Mozilla&browsertarget_list_block=Mozilla&systemtarget_add=1&systemtarget_list_inc=Windows&systemtarget_list_block=Windows&url_backup=https%3A%2F%2Fqliker.io&url_mob=https%3A%2F%2Fqliker.io&url_mob_ios=https%3A%2F%2Fqliker.io&url_repeart=velit&blocked_url=https%3A%2F%2Fqliker.io&unique_type=none&filtering_bad_click=B&filtering_proxy=B&filtering_spider=B&filtering_server=B&filtering_bad_user=B&link_passwd=1234&max_clicks=200&max_clicks_raw=200&pixels=cum¬es=voluptas&disable_pixels=1&blank_ref=1&skip_url_verf=1&traffic_tablet=M" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/links/1"
);
const params = {
"name": "My Rotator",
"primary_url": "my-rotator",
"track_link": "my-rotator",
"domain_id": "18",
"cloak": "1",
"cloak_title": "My Title",
"cloak_descr": "Description text",
"cloak_img_url": "https://qliker.test/img/logo.png",
"frontend": "1",
"cost": "0.5",
"cost_type": "total",
"cpcfilter": "1",
"geotarget_add": "1",
"geotarget_countries_inc": "RS|HR|EN",
"geotarget_countries_block": "RS|HR|EN",
"browsertarget_add": "1",
"browsertarget_list_inc": "Mozilla",
"browsertarget_list_block": "Mozilla",
"systemtarget_add": "1",
"systemtarget_list_inc": "Windows",
"systemtarget_list_block": "Windows",
"url_backup": "https://qliker.io",
"url_mob": "https://qliker.io",
"url_mob_ios": "https://qliker.io",
"url_repeart": "velit",
"blocked_url": "https://qliker.io",
"unique_type": "none",
"filtering_bad_click": "B",
"filtering_proxy": "B",
"filtering_spider": "B",
"filtering_server": "B",
"filtering_bad_user": "B",
"link_passwd": "1234",
"max_clicks": "200",
"max_clicks_raw": "200",
"pixels": "cum",
"notes": "voluptas",
"disable_pixels": "1",
"blank_ref": "1",
"skip_url_verf": "1",
"traffic_tablet": "M",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://api.qliker.io/v1/links/1',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'name' => 'My Rotator',
'primary_url' => 'my-rotator',
'track_link' => 'my-rotator',
'domain_id' => '18',
'cloak' => '1',
'cloak_title' => 'My Title',
'cloak_descr' => 'Description text',
'cloak_img_url' => 'https://qliker.test/img/logo.png',
'frontend' => '1',
'cost' => '0.5',
'cost_type' => 'total',
'cpcfilter' => '1',
'geotarget_add' => '1',
'geotarget_countries_inc' => 'RS|HR|EN',
'geotarget_countries_block' => 'RS|HR|EN',
'browsertarget_add' => '1',
'browsertarget_list_inc' => 'Mozilla',
'browsertarget_list_block' => 'Mozilla',
'systemtarget_add' => '1',
'systemtarget_list_inc' => 'Windows',
'systemtarget_list_block' => 'Windows',
'url_backup' => 'https://qliker.io',
'url_mob' => 'https://qliker.io',
'url_mob_ios' => 'https://qliker.io',
'url_repeart' => 'velit',
'blocked_url' => 'https://qliker.io',
'unique_type' => 'none',
'filtering_bad_click' => 'B',
'filtering_proxy' => 'B',
'filtering_spider' => 'B',
'filtering_server' => 'B',
'filtering_bad_user' => 'B',
'link_passwd' => '1234',
'max_clicks' => '200',
'max_clicks_raw' => '200',
'pixels' => 'cum',
'notes' => 'voluptas',
'disable_pixels' => '1',
'blank_ref' => '1',
'skip_url_verf' => '1',
'traffic_tablet' => 'M',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success"
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST v1/links
requires authentication
Example request:
curl --request POST \
"https://api.qliker.io/v1/links?name=My+Rotator&primary_url=my-rotator&track_link=my-rotator&domain_id=18&cloak=&cloak_title=My+Title&cloak_descr=Description+text&cloak_img_url=https%3A%2F%2Fqliker.test%2Fimg%2Flogo.png&frontend=1&cost=0.5&cost_type=total&cpcfilter=1&geotarget_add=1&geotarget_countries_inc=RS%7CHR%7CEN&geotarget_countries_block=RS%7CHR%7CEN&browsertarget_add=1&browsertarget_list_inc=Mozilla&browsertarget_list_block=Mozilla&systemtarget_add=1&systemtarget_list_inc=Windows&systemtarget_list_block=Windows&url_backup=https%3A%2F%2Fqliker.io&url_mob=https%3A%2F%2Fqliker.io&url_mob_ios=https%3A%2F%2Fqliker.io&url_repeart=eos&blocked_url=https%3A%2F%2Fqliker.io&unique_type=none&filtering_bad_click=B&filtering_proxy=B&filtering_spider=B&filtering_server=B&filtering_bad_user=B&link_passwd=1234&max_clicks=200&max_clicks_raw=200&pixels=cumque¬es=deserunt&disable_pixels=1&blank_ref=1&skip_url_verf=1&traffic_tablet=M" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/links"
);
const params = {
"name": "My Rotator",
"primary_url": "my-rotator",
"track_link": "my-rotator",
"domain_id": "18",
"cloak": "0",
"cloak_title": "My Title",
"cloak_descr": "Description text",
"cloak_img_url": "https://qliker.test/img/logo.png",
"frontend": "1",
"cost": "0.5",
"cost_type": "total",
"cpcfilter": "1",
"geotarget_add": "1",
"geotarget_countries_inc": "RS|HR|EN",
"geotarget_countries_block": "RS|HR|EN",
"browsertarget_add": "1",
"browsertarget_list_inc": "Mozilla",
"browsertarget_list_block": "Mozilla",
"systemtarget_add": "1",
"systemtarget_list_inc": "Windows",
"systemtarget_list_block": "Windows",
"url_backup": "https://qliker.io",
"url_mob": "https://qliker.io",
"url_mob_ios": "https://qliker.io",
"url_repeart": "eos",
"blocked_url": "https://qliker.io",
"unique_type": "none",
"filtering_bad_click": "B",
"filtering_proxy": "B",
"filtering_spider": "B",
"filtering_server": "B",
"filtering_bad_user": "B",
"link_passwd": "1234",
"max_clicks": "200",
"max_clicks_raw": "200",
"pixels": "cumque",
"notes": "deserunt",
"disable_pixels": "1",
"blank_ref": "1",
"skip_url_verf": "1",
"traffic_tablet": "M",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.qliker.io/v1/links',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'name' => 'My Rotator',
'primary_url' => 'my-rotator',
'track_link' => 'my-rotator',
'domain_id' => '18',
'cloak' => '0',
'cloak_title' => 'My Title',
'cloak_descr' => 'Description text',
'cloak_img_url' => 'https://qliker.test/img/logo.png',
'frontend' => '1',
'cost' => '0.5',
'cost_type' => 'total',
'cpcfilter' => '1',
'geotarget_add' => '1',
'geotarget_countries_inc' => 'RS|HR|EN',
'geotarget_countries_block' => 'RS|HR|EN',
'browsertarget_add' => '1',
'browsertarget_list_inc' => 'Mozilla',
'browsertarget_list_block' => 'Mozilla',
'systemtarget_add' => '1',
'systemtarget_list_inc' => 'Windows',
'systemtarget_list_block' => 'Windows',
'url_backup' => 'https://qliker.io',
'url_mob' => 'https://qliker.io',
'url_mob_ios' => 'https://qliker.io',
'url_repeart' => 'eos',
'blocked_url' => 'https://qliker.io',
'unique_type' => 'none',
'filtering_bad_click' => 'B',
'filtering_proxy' => 'B',
'filtering_spider' => 'B',
'filtering_server' => 'B',
'filtering_bad_user' => 'B',
'link_passwd' => '1234',
'max_clicks' => '200',
'max_clicks_raw' => '200',
'pixels' => 'cumque',
'notes' => 'deserunt',
'disable_pixels' => '1',
'blank_ref' => '1',
'skip_url_verf' => '1',
'traffic_tablet' => 'M',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success"
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Tracking Rotators
APIs for managing tracking rotators
GET v1/rotators
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/rotators?skip=15&take=10&group_id=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators"
);
const params = {
"skip": "15",
"take": "10",
"group_id": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/rotators',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'skip' => '15',
'take' => '10',
'group_id' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success",
"rotators": [
{
"id": 9,
"name": "Sandrine Gutkowski",
"slug": "sandrine-gutkowski",
"mode": "fulfillment",
"group_id": null,
"created_at": "2023-08-08 11:33:19",
"updated_at": "2023-08-08 11:33:19"
},
{
"id": 19,
"name": "Audreanne Crooks",
"slug": "audreanne-crooks",
"mode": "random",
"group_id": null,
"created_at": "2023-08-08 11:33:19",
"updated_at": "2023-08-08 11:33:19"
},
{
"id": 20,
"name": "Dr. Deborah Klein DDS",
"slug": "dr-deborah-klein-dds",
"mode": "sequential",
"group_id": null,
"created_at": "2023-08-08 11:33:19",
"updated_at": "2023-08-08 11:33:19"
}
]
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET v1/rotators/details
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/rotators/details?id=10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators/details"
);
const params = {
"id": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/rotators/details',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'id' => '10',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"rotators": "success",
"rotator": {
"id": 80,
"name": "Alec Funk",
"slug": "alec-funk",
"group_id": null,
"mode": "fulfillment",
"domain_id": null,
"backup_url": "http://page.programmer.in.rs/page.php",
"blocked_url": null,
"url_mob": null,
"url_mob_ios": null,
"archived": 0,
"created_at": "2023-08-08 11:33:19",
"updated_at": "2023-08-08 11:33:19"
}
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET v1/rotators/stats
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/rotators/stats?rotator_id=19&from=2023-04-14&to=2023-04-14" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators/stats"
);
const params = {
"rotator_id": "19",
"from": "2023-04-14",
"to": "2023-04-14",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/rotators/stats',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'rotator_id' => '19',
'from' => '2023-04-14',
'to' => '2023-04-14',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success",
"stats": {
'id': 1,
'mode': 'random',
'url': 7,
'tcl': 21667,
'ucl': 20623,
'fcl': 0,
'bcl': 0,
'bcu': 0,
'mcl': 0
}
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE v1/rotators/{rotator_id}
requires authentication
Example request:
curl --request DELETE \
"https://api.qliker.io/v1/rotators/qui?id=7" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators/qui"
);
const params = {
"id": "7",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.qliker.io/v1/rotators/qui',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'id' => '7',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success"
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH v1/rotators/{rotator_id}
requires authentication
Example request:
curl --request PATCH \
"https://api.qliker.io/v1/rotators/12?name=My+Rotator&rotators_link=my-rotator&rotators_mode=spillover&rotators_spillover_mode=backup_url&rotators_random_mode=random_url&rotators_sequential_mode=next_url&domain_id=18&cloak=&cloak_title=My+Title&cloak_descr=Description+text&cloak_img_url=https%3A%2F%2Fqliker.test%2Fimg%2Flogo.png&geotarget_add=1&geotarget_countries_inc=RS%7CHR%7CEN&geotarget_countries_block=RS%7CHR%7CEN&browsertarget_add=1&browsertarget_list_inc=Mozilla&browsertarget_list_block=Mozilla&systemtarget_add=1&systemtarget_list_inc=Windows&systemtarget_list_block=Windows&backup_url=https%3A%2F%2Fqliker.io&url_mob=https%3A%2F%2Fqliker.io&url_mob_ios=https%3A%2F%2Fqliker.io&blocked_url=https%3A%2F%2Fqliker.io&filtering_bad_click=B&filtering_proxy=B&filtering_spider=B&filtering_server=B&filtering_bad_user=B&rpixels=qui¬es=aspernatur&blank_ref=1&skip_url_verf=1&randomize_enable=1&randomize_min=1&randomize_realtime=1&randomize_ignore=1&randomize_ignore_first=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators/12"
);
const params = {
"name": "My Rotator",
"rotators_link": "my-rotator",
"rotators_mode": "spillover",
"rotators_spillover_mode": "backup_url",
"rotators_random_mode": "random_url",
"rotators_sequential_mode": "next_url",
"domain_id": "18",
"cloak": "0",
"cloak_title": "My Title",
"cloak_descr": "Description text",
"cloak_img_url": "https://qliker.test/img/logo.png",
"geotarget_add": "1",
"geotarget_countries_inc": "RS|HR|EN",
"geotarget_countries_block": "RS|HR|EN",
"browsertarget_add": "1",
"browsertarget_list_inc": "Mozilla",
"browsertarget_list_block": "Mozilla",
"systemtarget_add": "1",
"systemtarget_list_inc": "Windows",
"systemtarget_list_block": "Windows",
"backup_url": "https://qliker.io",
"url_mob": "https://qliker.io",
"url_mob_ios": "https://qliker.io",
"blocked_url": "https://qliker.io",
"filtering_bad_click": "B",
"filtering_proxy": "B",
"filtering_spider": "B",
"filtering_server": "B",
"filtering_bad_user": "B",
"rpixels": "qui",
"notes": "aspernatur",
"blank_ref": "1",
"skip_url_verf": "1",
"randomize_enable": "1",
"randomize_min": "1",
"randomize_realtime": "1",
"randomize_ignore": "1",
"randomize_ignore_first": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://api.qliker.io/v1/rotators/12',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'name' => 'My Rotator',
'rotators_link' => 'my-rotator',
'rotators_mode' => 'spillover',
'rotators_spillover_mode' => 'backup_url',
'rotators_random_mode' => 'random_url',
'rotators_sequential_mode' => 'next_url',
'domain_id' => '18',
'cloak' => '0',
'cloak_title' => 'My Title',
'cloak_descr' => 'Description text',
'cloak_img_url' => 'https://qliker.test/img/logo.png',
'geotarget_add' => '1',
'geotarget_countries_inc' => 'RS|HR|EN',
'geotarget_countries_block' => 'RS|HR|EN',
'browsertarget_add' => '1',
'browsertarget_list_inc' => 'Mozilla',
'browsertarget_list_block' => 'Mozilla',
'systemtarget_add' => '1',
'systemtarget_list_inc' => 'Windows',
'systemtarget_list_block' => 'Windows',
'backup_url' => 'https://qliker.io',
'url_mob' => 'https://qliker.io',
'url_mob_ios' => 'https://qliker.io',
'blocked_url' => 'https://qliker.io',
'filtering_bad_click' => 'B',
'filtering_proxy' => 'B',
'filtering_spider' => 'B',
'filtering_server' => 'B',
'filtering_bad_user' => 'B',
'rpixels' => 'qui',
'notes' => 'aspernatur',
'blank_ref' => '1',
'skip_url_verf' => '1',
'randomize_enable' => '1',
'randomize_min' => '1',
'randomize_realtime' => '1',
'randomize_ignore' => '1',
'randomize_ignore_first' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success"
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST v1/rotators
requires authentication
Example request:
curl --request POST \
"https://api.qliker.io/v1/rotators?name=My+Rotator&rotators_link=my-rotator&rotators_mode=spillover&rotators_spillover_mode=backup_url&rotators_random_mode=random_url&rotators_sequential_mode=next_url&domain_id=18&cloak=&cloak_title=My+Title&cloak_descr=Description+text&cloak_img_url=https%3A%2F%2Fqliker.test%2Fimg%2Flogo.png&geotarget_add=1&geotarget_countries_inc=RS%7CHR%7CEN&geotarget_countries_block=RS%7CHR%7CEN&browsertarget_add=1&browsertarget_list_inc=Mozilla&browsertarget_list_block=Mozilla&systemtarget_add=1&systemtarget_list_inc=Windows&systemtarget_list_block=Windows&backup_url=https%3A%2F%2Fqliker.io&url_mob=https%3A%2F%2Fqliker.io&url_mob_ios=https%3A%2F%2Fqliker.io&blocked_url=https%3A%2F%2Fqliker.io&filtering_bad_click=B&filtering_proxy=B&filtering_spider=B&filtering_server=B&filtering_bad_user=B&rpixels=id¬es=nisi&blank_ref=1&skip_url_verf=1&randomize_enable=1&randomize_min=1&randomize_realtime=1&randomize_ignore=1&randomize_ignore_first=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators"
);
const params = {
"name": "My Rotator",
"rotators_link": "my-rotator",
"rotators_mode": "spillover",
"rotators_spillover_mode": "backup_url",
"rotators_random_mode": "random_url",
"rotators_sequential_mode": "next_url",
"domain_id": "18",
"cloak": "0",
"cloak_title": "My Title",
"cloak_descr": "Description text",
"cloak_img_url": "https://qliker.test/img/logo.png",
"geotarget_add": "1",
"geotarget_countries_inc": "RS|HR|EN",
"geotarget_countries_block": "RS|HR|EN",
"browsertarget_add": "1",
"browsertarget_list_inc": "Mozilla",
"browsertarget_list_block": "Mozilla",
"systemtarget_add": "1",
"systemtarget_list_inc": "Windows",
"systemtarget_list_block": "Windows",
"backup_url": "https://qliker.io",
"url_mob": "https://qliker.io",
"url_mob_ios": "https://qliker.io",
"blocked_url": "https://qliker.io",
"filtering_bad_click": "B",
"filtering_proxy": "B",
"filtering_spider": "B",
"filtering_server": "B",
"filtering_bad_user": "B",
"rpixels": "id",
"notes": "nisi",
"blank_ref": "1",
"skip_url_verf": "1",
"randomize_enable": "1",
"randomize_min": "1",
"randomize_realtime": "1",
"randomize_ignore": "1",
"randomize_ignore_first": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.qliker.io/v1/rotators',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'name' => 'My Rotator',
'rotators_link' => 'my-rotator',
'rotators_mode' => 'spillover',
'rotators_spillover_mode' => 'backup_url',
'rotators_random_mode' => 'random_url',
'rotators_sequential_mode' => 'next_url',
'domain_id' => '18',
'cloak' => '0',
'cloak_title' => 'My Title',
'cloak_descr' => 'Description text',
'cloak_img_url' => 'https://qliker.test/img/logo.png',
'geotarget_add' => '1',
'geotarget_countries_inc' => 'RS|HR|EN',
'geotarget_countries_block' => 'RS|HR|EN',
'browsertarget_add' => '1',
'browsertarget_list_inc' => 'Mozilla',
'browsertarget_list_block' => 'Mozilla',
'systemtarget_add' => '1',
'systemtarget_list_inc' => 'Windows',
'systemtarget_list_block' => 'Windows',
'backup_url' => 'https://qliker.io',
'url_mob' => 'https://qliker.io',
'url_mob_ios' => 'https://qliker.io',
'blocked_url' => 'https://qliker.io',
'filtering_bad_click' => 'B',
'filtering_proxy' => 'B',
'filtering_spider' => 'B',
'filtering_server' => 'B',
'filtering_bad_user' => 'B',
'rpixels' => 'id',
'notes' => 'nisi',
'blank_ref' => '1',
'skip_url_verf' => '1',
'randomize_enable' => '1',
'randomize_min' => '1',
'randomize_realtime' => '1',
'randomize_ignore' => '1',
'randomize_ignore_first' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success"
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET v1/rotators/links
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/rotators/links?rotator_id=20&skip=1&take=6&status=active" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators/links"
);
const params = {
"rotator_id": "20",
"skip": "1",
"take": "6",
"status": "active",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/rotators/links',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'rotator_id' => '20',
'skip' => '1',
'take' => '6',
'status' => 'active',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success",
"urls": [
{
"id": 120,
"name": "Prof. Brenden Adams",
"status": "archived",
"created_at": "2023-08-08 11:33:19",
"updated_at": "2023-08-08 11:33:19"
},
{
"id": 329,
"name": "Mrs. Selina Murray MD",
"status": "archived",
"created_at": "2023-08-08 11:33:20",
"updated_at": "2023-08-08 11:33:20"
},
{
"id": 657,
"name": "Carleton Schulist",
"status": "paused",
"created_at": "2023-08-08 11:33:22",
"updated_at": "2023-08-08 11:33:22"
}
]
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET v1/rotators/links/details
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/rotators/links/details?id=11" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators/links/details"
);
const params = {
"id": "11",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/rotators/links/details',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'id' => '11',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success"
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE v1/rotators/links/{rotator_link_id}
requires authentication
Example request:
curl --request DELETE \
"https://api.qliker.io/v1/rotators/links/12" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators/links/12"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->delete(
'https://api.qliker.io/v1/rotators/links/12',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"rotators": "success",
"url": {
"id": 120,
"rotator_id": 80,
"name": "Prof. Brenden Adams",
"status": "archived",
"url": "https://page.programmer.in.rs/page.php",
"position": 2,
"maxclick": null,
"maxclick_daily": null,
"maxclick_bonus": null,
"min_t1": null,
"max_t1": null,
"min_mobile": null,
"max_mobile": null,
"start": null,
"end": null,
"created_at": "2023-08-08 11:33:19",
"updated_at": "2023-08-08 11:33:19"
}
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PATCH v1/rotators/links/{rotator_link_id}
requires authentication
Example request:
curl --request PATCH \
"https://api.qliker.io/v1/rotators/links/12?name=My+Rotator+Link&url=https%3A%2F%2Fqliker.io&status=active&position=1&weight=1&maxclick_bonus=100&maxclick=200&maxclick_daily=200&maxclick_raw=200&maxclick_daily_raw=200&min_t1=100&max_t1=100&max_qfr=100&min_mobile=100&max_mobile=100&start=2023-04-14+16%3A02%3A10&end=2023-04-14+16%3A02%3A10¬ify=1¬ify_on_start=1¬ify_on_end=1¬ify_client_email=john.doe%40example.com&remote_stats=https%3A%2F%2Fqliker.io%2Fshare%2Fr%2F24946647&finish_activate=12&geotarget_add=1&geotarget_countries_inc=RS%7CHR%7CEN&geotarget_countries_block=RS%7CHR%7CEN&browsertarget_add=1&browsertarget_list_inc=Mozilla&browsertarget_list_block=Mozilla&systemtarget_add=1&systemtarget_list_inc=Windows&systemtarget_list_block=Windows&smart_swap=12&filtering_nocookies=B&filtering_nojavascript=B&lpixels=ipsum¬es=veritatis&skip_url_verf=1&traffic_tablet=0" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators/links/12"
);
const params = {
"name": "My Rotator Link",
"url": "https://qliker.io",
"status": "active",
"position": "1",
"weight": "1",
"maxclick_bonus": "100",
"maxclick": "200",
"maxclick_daily": "200",
"maxclick_raw": "200",
"maxclick_daily_raw": "200",
"min_t1": "100",
"max_t1": "100",
"max_qfr": "100",
"min_mobile": "100",
"max_mobile": "100",
"start": "2023-04-14 16:02:10",
"end": "2023-04-14 16:02:10",
"notify": "1",
"notify_on_start": "1",
"notify_on_end": "1",
"notify_client_email": "john.doe@example.com",
"remote_stats": "https://qliker.io/share/r/24946647",
"finish_activate": "12",
"geotarget_add": "1",
"geotarget_countries_inc": "RS|HR|EN",
"geotarget_countries_block": "RS|HR|EN",
"browsertarget_add": "1",
"browsertarget_list_inc": "Mozilla",
"browsertarget_list_block": "Mozilla",
"systemtarget_add": "1",
"systemtarget_list_inc": "Windows",
"systemtarget_list_block": "Windows",
"smart_swap": "12",
"filtering_nocookies": "B",
"filtering_nojavascript": "B",
"lpixels": "ipsum",
"notes": "veritatis",
"skip_url_verf": "1",
"traffic_tablet": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->patch(
'https://api.qliker.io/v1/rotators/links/12',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'name' => 'My Rotator Link',
'url' => 'https://qliker.io',
'status' => 'active',
'position' => '1',
'weight' => '1',
'maxclick_bonus' => '100',
'maxclick' => '200',
'maxclick_daily' => '200',
'maxclick_raw' => '200',
'maxclick_daily_raw' => '200',
'min_t1' => '100',
'max_t1' => '100',
'max_qfr' => '100',
'min_mobile' => '100',
'max_mobile' => '100',
'start' => '2023-04-14 16:02:10',
'end' => '2023-04-14 16:02:10',
'notify' => '1',
'notify_on_start' => '1',
'notify_on_end' => '1',
'notify_client_email' => 'john.doe@example.com',
'remote_stats' => 'https://qliker.io/share/r/24946647',
'finish_activate' => '12',
'geotarget_add' => '1',
'geotarget_countries_inc' => 'RS|HR|EN',
'geotarget_countries_block' => 'RS|HR|EN',
'browsertarget_add' => '1',
'browsertarget_list_inc' => 'Mozilla',
'browsertarget_list_block' => 'Mozilla',
'systemtarget_add' => '1',
'systemtarget_list_inc' => 'Windows',
'systemtarget_list_block' => 'Windows',
'smart_swap' => '12',
'filtering_nocookies' => 'B',
'filtering_nojavascript' => 'B',
'lpixels' => 'ipsum',
'notes' => 'veritatis',
'skip_url_verf' => '1',
'traffic_tablet' => '0',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success"
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST v1/rotators/links/{rotator_id}
requires authentication
Example request:
curl --request POST \
"https://api.qliker.io/v1/rotators/links/12?name=My+Rotator+Link&url=https%3A%2F%2Fqliker.io&status=active&position=1&weight=1&maxclick_bonus=100&maxclick=200&maxclick_daily=200&maxclick_raw=200&maxclick_daily_raw=200&min_t1=100&max_t1=100&max_qfr=100&min_mobile=100&max_mobile=100&start=2023-04-14+16%3A02%3A10&end=2023-04-14+16%3A02%3A10¬ify=1¬ify_on_start=1¬ify_on_end=1¬ify_client_email=john.doe%40example.com&remote_stats=https%3A%2F%2Fqliker.io%2Fshare%2Fr%2F24946647&finish_activate=12&geotarget_add=1&geotarget_countries_inc=RS%7CHR%7CEN&geotarget_countries_block=RS%7CHR%7CEN&browsertarget_add=1&browsertarget_list_inc=Mozilla&browsertarget_list_block=Mozilla&systemtarget_add=1&systemtarget_list_inc=Windows&systemtarget_list_block=Windows&smart_swap=12&filtering_nocookies=B&filtering_nojavascript=B&lpixels=error¬es=numquam&skip_url_verf=1&traffic_tablet=0" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators/links/12"
);
const params = {
"name": "My Rotator Link",
"url": "https://qliker.io",
"status": "active",
"position": "1",
"weight": "1",
"maxclick_bonus": "100",
"maxclick": "200",
"maxclick_daily": "200",
"maxclick_raw": "200",
"maxclick_daily_raw": "200",
"min_t1": "100",
"max_t1": "100",
"max_qfr": "100",
"min_mobile": "100",
"max_mobile": "100",
"start": "2023-04-14 16:02:10",
"end": "2023-04-14 16:02:10",
"notify": "1",
"notify_on_start": "1",
"notify_on_end": "1",
"notify_client_email": "john.doe@example.com",
"remote_stats": "https://qliker.io/share/r/24946647",
"finish_activate": "12",
"geotarget_add": "1",
"geotarget_countries_inc": "RS|HR|EN",
"geotarget_countries_block": "RS|HR|EN",
"browsertarget_add": "1",
"browsertarget_list_inc": "Mozilla",
"browsertarget_list_block": "Mozilla",
"systemtarget_add": "1",
"systemtarget_list_inc": "Windows",
"systemtarget_list_block": "Windows",
"smart_swap": "12",
"filtering_nocookies": "B",
"filtering_nojavascript": "B",
"lpixels": "error",
"notes": "numquam",
"skip_url_verf": "1",
"traffic_tablet": "0",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://api.qliker.io/v1/rotators/links/12',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'name' => 'My Rotator Link',
'url' => 'https://qliker.io',
'status' => 'active',
'position' => '1',
'weight' => '1',
'maxclick_bonus' => '100',
'maxclick' => '200',
'maxclick_daily' => '200',
'maxclick_raw' => '200',
'maxclick_daily_raw' => '200',
'min_t1' => '100',
'max_t1' => '100',
'max_qfr' => '100',
'min_mobile' => '100',
'max_mobile' => '100',
'start' => '2023-04-14 16:02:10',
'end' => '2023-04-14 16:02:10',
'notify' => '1',
'notify_on_start' => '1',
'notify_on_end' => '1',
'notify_client_email' => 'john.doe@example.com',
'remote_stats' => 'https://qliker.io/share/r/24946647',
'finish_activate' => '12',
'geotarget_add' => '1',
'geotarget_countries_inc' => 'RS|HR|EN',
'geotarget_countries_block' => 'RS|HR|EN',
'browsertarget_add' => '1',
'browsertarget_list_inc' => 'Mozilla',
'browsertarget_list_block' => 'Mozilla',
'systemtarget_add' => '1',
'systemtarget_list_inc' => 'Windows',
'systemtarget_list_block' => 'Windows',
'smart_swap' => '12',
'filtering_nocookies' => 'B',
'filtering_nojavascript' => 'B',
'lpixels' => 'error',
'notes' => 'numquam',
'skip_url_verf' => '1',
'traffic_tablet' => '0',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success"
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Groups
APIs for managing groups
GET v1/links/groups
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/links/groups?skip=11&take=2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/links/groups"
);
const params = {
"skip": "11",
"take": "2",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/links/groups',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'skip' => '11',
'take' => '2',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success",
"groups": [
{
"id": 4,
"name": "Group 1",
"subgoup": {
"id": 5,
"name": "subgroup",
"created_at": "2023-08-10 12:11:18",
"updated_at": null
},
"created_at": "2023-08-10 12:11:13",
"updated_at": null
},
{
"id": 6,
"name": "Group 2",
"created_at": "2023-08-10 12:11:22",
"updated_at": null
}
]
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET v1/rotators/groups
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/rotators/groups?skip=17&take=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/rotators/groups"
);
const params = {
"skip": "17",
"take": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/rotators/groups',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'skip' => '17',
'take' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success",
"groups": {
'id': 1,
'name': 'group1',
'created_at': '2023-04-25 10:28:17',
'updated_at': '2023-04-25 10:28:17',
},
{
'id': 2,
'name': 'group2',
'created_at': '2023-04-25 10:28:17',
'updated_at': '2023-04-25 10:28:17',
}
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Domains
GET v1/domains
requires authentication
Example request:
curl --request GET \
--get "https://api.qliker.io/v1/domains?skip=17&take=8" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json"const url = new URL(
"https://api.qliker.io/v1/domains"
);
const params = {
"skip": "17",
"take": "8",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.qliker.io/v1/domains',
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
],
'query' => [
'skip' => '17',
'take' => '8',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));Example response (200, success):
{
"status": "success",
"domains": [
{
"id": 2,
"domain": "mydomain.in.rs",
"type": "link",
"cloak": 0,
"active": 0,
"created_at": "2023-08-10 14:17:43",
"updated_at": null
},
{
"id": 1,
"domain": "mydomain.rs",
"type": "link",
"cloak": 0,
"active": 1,
"created_at": "2023-08-10 14:17:43",
"updated_at": null
}
]
}
Example response (401):
{
"message": "Unauthenticated."
}
Example response (404):
{
"stratus": "fail",
"error": "Error message"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.