Перейти к основному содержанию
GET
/
cpl
/
orders
CPL Заказы
curl --request GET \
  --url https://studio-api.onlytraffic.com/api/external/v1/cpl/orders \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": [
    {
      "order_id": 123,
      "offer_id": 1,
      "offer_marketer_name": "MarketerName",
      "of_account_id": 123456,
      "source": "Reddit",
      "quantity_ordered": 50,
      "quantity_delivered": 32,
      "campaign_url": "https://onlyfans.com/.../c...",
      "price_per_subscriber": 3.5,
      "clicks_count": 245,
      "total_spent": 112,
      "status": "completed",
      "created_at": "2026-01-15T12:00:00+00:00",
      "completed_at": "2026-01-20T18:30:00+00:00"
    }
  ],
  "pagination": {
    "page": 1,
    "total": 150,
    "total_pages": 2
  }
}

Авторизации

X-API-Key
string
header
обязательно

Your API key from the Studio Dashboard

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

page
integer
по умолчанию:1

Page number (starting from 1)

order_id
integer

Filter by order ID

of_account_id
integer

Filter by OnlyFans account ID

status
enum<string>

Filter by order status

Доступные опции:
waiting,
accepted,
rejected,
completed,
cancelled

Ответ

Successful response

success
boolean
Пример:

true

data
object[]
pagination
object