The Only API docs
Accounts

Update polling settings

Enable/disable background polling for an account, set the interval, and control whether automations may perform write actions on the platform.

PATCH
/accounts/{of_user_id}/polling

Enable/disable background polling for an account, set the interval, and control whether automations may perform write actions on the platform.

Guide: Connect an 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.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/accounts/string/polling" \  -H "Content-Type: application/json" \  -d '{}'
{  "polling": {    "allow_of_write_actions": 0,    "last_polled_at": "string",    "of_user_id": "string",    "polling_enabled": 0,    "polling_failure_count": 0,    "polling_interval_seconds": 0  },  "success": true,  "warning": "string"}