Skip to main content
GET
/
cpc
/
creatives
Creatives
curl --request GET \
  --url https://studio-api.onlytraffic.com/api/external/v1/cpc/creatives \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": [
    {
      "public_id": "cpcr_xxxxxxx",
      "internal_name": "<string>",
      "display_name": "<string>",
      "description": "<string>",
      "url": "<string>",
      "trial_days": 123,
      "rejected_reason": "<string>",
      "orders_count": 123,
      "can_delete": true,
      "images": [
        {
          "200": "<string>",
          "400": "<string>",
          "800": "<string>",
          "hash": "<string>"
        }
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "model": {
        "id": 123,
        "username": "<string>"
      }
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 50,
    "total": 150,
    "total_pages": 3,
    "has_next": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://onlytraffic.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Your API key from the Studio Dashboard

Query Parameters

page
integer
default:1

Page number, 1-indexed.

Required range: x >= 1
page_size
integer
default:50

Items per page. Default 50, max 100.

Required range: 1 <= x <= 100
public_id
string

Filter to a single creative.

Maximum string length: 32
of_account_id
integer
status
enum<string>

Defaults to all non-deleted, non-archived.

Available options:
active,
disabled,
moderation,
rejected,
archived
sort
enum<string>
default:created_desc

Sort order.

  • created_desc: newest creatives first (default).
  • created_asc: oldest creatives first.
  • name_asc: by display_name A→Z.
  • name_desc: by display_name Z→A.
Available options:
created_desc,
created_asc,
name_asc,
name_desc

Response

Successful response

success
boolean
Example:

true

data
object[]
pagination
object

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