The Only API docs
Vault

Create a vault collection

Create a new collection. Fansly only. Requires writes to be enabled for the account.

POST
/accounts/{of_user_id}/vault/collections

Create a new collection. Fansly only. Requires writes to be enabled for the account.

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/vault/collections" \  -H "Content-Type: application/json" \  -d '{    "title": "string"  }'
{  "success": true,  "collection": {}}