The Only API docs
Campaigns

Refresh the campaign cache (async)

Start an async campaign + claimer sync. Returns 202 — poll GET /accounts/{of_user_id}/campaigns/refresh/status or listen on GET /events/stream. Honours the…

POST
/accounts/{of_user_id}/campaigns/refresh

Start an async campaign + claimer sync. Returns 202 — poll GET /accounts/{of_user_id}/campaigns/refresh/status or listen on GET /events/stream. Honours the /tracked-campaigns allowlist when one is set.

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.

Response Body

application/json

curl -X POST "https://example.com/accounts/string/campaigns/refresh"
{  "already_running": true,  "message": "string",  "not_needed": true,  "state": null,  "success": true}