The Only API docs
Campaigns

Create campaign

Create a new tracking link campaign.

POST
/accounts/{of_user_id}/campaigns

Create a new tracking link campaign.

Guide: Subscribers & fans

X-API-Key<token>

Your CRM panel API key

In: header

Path Parameters

of_user_id*string

Creator account ID of the connected account (OnlyFans or Fansly). Use GET /accounts to list connected accounts and their IDs.

Header Parameters

X-Proxy?string

Proxy URL — HTTP or SOCKS5 (e.g. http://user:pass@host:port or socks5://user:pass@host:port). Optional on post-connection routes, where it overrides the proxy saved at login time. Required on the connection routes (POST /accounts/login, POST /accounts/login/cookies, POST /accounts/login/verify-otp) for OnlyFans accounts; optional for Fansly.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/accounts/string/campaigns" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "campaigns": [],  "hasMore": true,  "name": "string",  "success": true}