Skip to main content
GET
/
swaps
/
orders
/
{public_id}
/
demo-content
Demo content for the offer side of a swap order.
curl --request GET \
  --url https://studio-api.onlytraffic.com/api/external/v1/swaps/orders/{public_id}/demo-content \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": {
    "order_id": "<string>",
    "model": {
      "of_account_id": 123,
      "username": "<string>"
    },
    "content": [
      {
        "id": 123,
        "type": "<string>",
        "thumbnail_url": "<string>",
        "large_url": "<string>",
        "sort": 123
      }
    ],
    "count": 123
  }
}

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

Path Parameters

public_id
string
required

Resource public id. Format varies by endpoint: cplo_xxxxxxx for CPL orders, cpco_xxxxxxx for CPC orders, swpo_xxxxxxx for swap orders, cpcr_xxxxxxx for CPC creatives, revi_xxxxxxx for RevShare invoices.

Pattern: ^[a-z0-9_]+$

Response

Demo content.

success
boolean
data
object