Skip to main content
GET
Partner swap offers.

Авторизации

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

Your API key from the Studio Dashboard

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

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

Page number, 1-indexed.

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

Items per page. Default 50, max 100.

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

Match against description and the model's username.

tags
string

Comma-separated list of tags. Each tag must be present (AND-semantics).

campaign_type
enum<string>
Доступные опции:
free,
paid
content_type
enum<string>
Доступные опции:
nude,
light
price
enum<string>

free = guaranteed-price 0; paid = guaranteed-price > 0.

Доступные опции:
free,
paid
min_performer_top
integer

Cap on the model's performer-top percentile (lower is better; 80 keeps the top 80% and better, drops unranked).

Требуемый диапазон: 0 <= x <= 100
available_only
enum<string>

Hide offers that have reached campaigns_count.

Доступные опции:
true,
false,
1,
0
is_mine
enum<string>

Pass true to return only your own offers. Default returns partners' offers and excludes yours.

Доступные опции:
true,
false,
1,
0
sort
enum<string>
по умолчанию:created_at_desc

Sort order.

  • created_at_desc: newest offers first (default).
  • created_at_asc: oldest offers first.
Доступные опции:
created_at_desc,
created_at_asc

Ответ

Paged list of partner swap offers.

success
boolean
data
object[]
pagination
object

Page-based pagination, returned by every list endpoint that isn't a cursor feed.