partner.onlytraffic.com will be switched off, including the old ?do= request format. Requests to the old host will not be redirected: integrations have to be updated.
What to change
1
Switch the host
If you already call
/api/marketer/... paths, only the host changes: partner.onlytraffic.com → partners.onlytraffic.com. The paths, parameters and responses are the same. Use /api/marketer/cpl/campaigns instead of the old /api/marketer/cpl/orders.If you use ?do=..., see the mapping below: the endpoints and the response fields have changed.2
Send the key in the header
Create a new key in Tools -> API (partners.onlytraffic.com/tools/api) and send it in the
Authorization header (raw or Bearer). Use a Read-only key if your integration only reads data.Your old key (XXXXX-XXXXX-XXXXX-XXXXX) keeps working on the new host until you delete it, but we recommend moving to a new key. See Authentication.3
Update parameters and response parsing
Only needed for the
?do= format. Follow the per-endpoint tables below.Legacy ?do= format
Endpoints
Common changes
- Methods. Read endpoints accept both
GET(parameters in the query string) andPOST(JSON or form body), so you can keep sending a JSON body. - Pagination.
limitnow defaults to50and accepts1–1000(was10and10–1000). Passlimitexplicitly if you rely on the page size. - Model filter.
onlyfans_idis nowof_account_id, both as a parameter and in responses. - Identifiers. Objects are identified by public string ids (
revc_…,cplo_…and so on) instead of numeric internal ids. Write endpoints accept only public ids. - Dates. Every date has two fields: an ISO 8601 string (
created_at) and a Unix timestamp (created_at_ts). The legacy integer fields (date_create,date_add, …) are gone. - Response envelope and error codes are unchanged:
status,data,error_code,message.
Campaigns
Legacycampaigns returned RevShare and CPL campaigns in one list, split by commission_type. They are now separate endpoints: RevShare in /revshare/campaigns, CPL in /cpl/campaigns. The offer_id filter applies to /cpl/campaigns.
RevShare (/api/marketer/revshare/campaigns):
Campaign
type values were renamed:
The
status parameter (active / completed) is new; without it, only active campaigns are returned, as before.
CPL (/api/marketer/cpl/campaigns):
See CPL Campaigns for the full object, including delivery progress and earnings.
Transactions
New filters:
of_account_id, campaign_id, from, to, status.
Subscribers
Sorting: the
sort + order pair is replaced by one sort parameter: subscribed_at_desc (default) or subscribed_at_asc. Sorting by revenue is no longer available. New filters: of_account_id, campaign_id, campaign_type, from, to.
CPC orders
Without a
status filter, only active orders are returned, as before. New filters: status (waiting / active / rejected / completed) and creative_public_id.