Skip to main content
POST
/
cpl
/
my-offers
Publish a CPL offer.
curl --request POST \
  --url https://studio-api.onlytraffic.com/api/external/v1/cpl/my-offers \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "of_account_id": 123,
  "max_per_day": 2,
  "total_budget": 1001,
  "content_channels": [],
  "per_subscription": 2.65,
  "per_messages": 8,
  "per_first_purchase": 32.5,
  "per_paid_subscription": 51,
  "free_trial_enabled": true,
  "free_trial_days": 2,
  "trial_order_enabled": true,
  "trial_fan_count": 2,
  "blocked_sources": [],
  "description": "<string>"
}
'
{
  "success": true,
  "data": {
    "offer_id": 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.

Publishing CPL offers requires an account tier of platinum or diamond. Other tiers receive a 403. New offers go through moderation. They become visible to partners after our team approves them.

Authorizations

X-API-Key
string
header
required

Your API key from the Studio Dashboard

Body

application/json
of_account_id
integer
required

One of your linked OF accounts.

max_per_day
integer
required
Required range: x >= 1
total_budget
number<float>
required
Required range: x >= 1000
content_channels
enum<string>[]
required
Minimum array length: 1
Available options:
lifestyle,
tiktok,
lingerie,
light_nudes,
nudes
approved_cpl_terms
enum<boolean>
required

Must be true.

Available options:
true
per_subscription
number<float>
Required range: 0.3 <= x <= 5
per_messages
number<float>
Required range: 1 <= x <= 15
per_first_purchase
number<float>
Required range: 5 <= x <= 60
per_paid_subscription
number<float>

Paid-model only.

Required range: 3 <= x <= 99
free_trial_enabled
boolean

Paid-model only.

free_trial_days
integer

Required when free_trial_enabled=true. Number of free trial days.

Required range: x >= 1
trial_order_enabled
boolean
trial_fan_count
integer

Required when trial_order_enabled=true. Number of trial fans for first-touch experiments.

Required range: x >= 1
blocked_sources
enum<string>[]
Available options:
instagram,
tiktok,
twitter,
reddit,
google,
telegram,
tinder,
facebook,
youtube,
onlyfans
description
string
Maximum string length: 5000

Response

Created. The new offer goes through moderation and becomes visible to partners after our team approves it.

success
boolean
data
object