Start CPL Campaign
Find Offers Start: you start delivering traffic to a client’s CPL offer. Same fields, limits and messages as the Start modal on the Find Offers page. Runs one campaign start at a time per account.
Returns the created order as one /api/marketer/cpl/orders row (is_client_offer = true).
Errors (status: "error", HTTP 200):
422Please fill in all campaign fieldswhen a field is missing or out of range.422Limit messages, the same as the cabinet: you already run a campaign on this offer, your order on this model is pending the client’s trial review, or all your CPL campaign slots are taken.429Another campaign start is still running. Wait a few seconds and try again (one campaign start at a time per account).403Access denied: missing / unknown key, or the account is not an active partner.429Rate limit exceeded (30 writes per minute per key, see theRetry-Afterheader).503Service is temporarily unavailable: the platform did not answer in time. The action may still have been applied, check the matching read endpoint before repeating it.
/api/marketer/cpl/orders row with is_client_offer true and client_offer_id set.
Fields
Errors
Authorizations
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
Client offer id from Find Offers (client_offer_id on orders).
Payout format you deliver on. Must be one the offer pays for and does not block for you.
per_subscription, per_messages, per_first_purchase, per_paid_subscription Traffic source slug, the same values the Start form offers (for example telegram, instagram, tiktok, reddit, x).
link = campaign link, free_trial = free trial link.
link, free_trial Subscribers per day you plan to deliver.
x >= 1