Skip to main content
GET
Campaign click log

Авторизации

Authorization
string
header
обязательно

API key from the partner cabinet, Tools -> API (https://partners.onlytraffic.com/tools/api): up to 5 named keys per account, each Full or Read-only, ot_partners_ prefix, shown once at creation. Raw value or Bearer form. Read-only keys cannot call the POST endpoints (403 This API key is read-only); expired or revoked keys get 403 Error! Access denied.

Параметры запроса

campaign_id
string
обязательно

Campaign public id (revc_…) or CPL campaign public id (cplo_…). Required.

Пример:

"revc_k3m9x2"

offset
integer
по умолчанию:0

Number of records to skip.

Требуемый диапазон: x >= 0
limit
integer
по умолчанию:50

Number of records to return.

Требуемый диапазон: 1 <= x <= 1000
from
string<date>

Start date (inclusive), format Y-m-d. Clicks older than 180 days are not stored.

Пример:

"2026-10-01"

to
string<date>

End date (inclusive), format Y-m-d.

Пример:

"2026-10-21"

country
string

Filter by visitor country, ISO 3166-1 alpha-2 (case-insensitive).

Required string length: 2
Пример:

"US"

Ответ

200 - application/json

Success

status
enum<string>
Доступные опции:
success
data
object[]