Skip to main content
GET
List subscribers

Авторизации

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.

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

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

Number of records to skip.

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

Number of records to return.

Требуемый диапазон: 1 <= x <= 1000
of_account_id
integer

Filter by OnlyFans account numeric id.

campaign_id
string

Filter by campaign public_id (RevShare) or CPL campaign public_id (CPL).

campaign_type
enum<string>

Filter by campaign type.

Доступные опции:
revshare,
cpl
from
string<date>

Subscription date from (inclusive), format Y-m-d.

Пример:

"2024-01-01"

to
string<date>

Subscription date to (inclusive), format Y-m-d.

Пример:

"2024-01-31"

sort
enum<string>
по умолчанию:subscribed_at_desc
Доступные опции:
subscribed_at_desc,
subscribed_at_asc

Ответ

200 - application/json

Success

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