Skip to main content
POST
Start a RevShare campaign
Same as Start on a RevShare offer in the cabinet. Pick the model from /api/marketer/revshare/offers and pass its of_account_id.

Fields

Errors

Check available_campaigns_limit on the offers endpoint before starting: null means unlimited, 0 means no start will go through.

Authorizations

Authorization
string
header
required

API key from the partner cabinet, Tools -> API (https://partners.onlytraffic.com/tools/api): up to 5 named keys per account, each Full or Read-only, ot_partners_ prefix, shown once at creation. Raw value or Bearer form. Read-only keys cannot call the POST endpoints (403 This API key is read-only); expired or revoked keys get 403 Error! Access denied.

Body

application/json
of_account_id
integer
required

OnlyFans account numeric id (of_account_id of the offer).

source
string
required

Traffic source slug, the same values the web Start form offers (for example telegram, instagram, tiktok, reddit, x).

type
string
default:1

Campaign type code, the same values the web Start form sends: 1 = By Campaign Link, 2 = Free Trial (only when the offer allows trials).

trial_days
integer
default:7

Trial length in days, trial campaigns (type = 2) only. Same set as the web Start form: 1, 3, 7, 14, 30, 90, capped by the trial length the model allows.

note
string

Private note shown on the campaign.

Response

200 - application/json

Success (check status; errors are also HTTP 200)

status
enum<string>
Available options:
success
data
object