Skip to main content
POST
/
v2
/
access
/
users
/
lists
/
:listId
/
users
Add users to user list
curl --request POST \
  --url https://api-next.ofauth.com/v2/access/users/lists/:listId/users \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '
{
  "userIds": [
    123
  ]
}
'
{
  "list": [
    {
      "id": 123,
      "username": "<string>",
      "name": "<string>",
      "isVerified": true,
      "avatar": "<string>",
      "avatarThumbs": {
        "c50": "<string>",
        "c144": "<string>"
      }
    }
  ],
  "hasMore": true,
  "nextOffset": 123
}

Authorizations

apiKey
string
header
required

Headers

x-connection-id
string

Connection ID for managed sessions

x-of-user-id
string

OnlyFans user id for direct sessions (optional override)

OnlyFans cookie header for direct sessions (must include auth_id and fp values)

x-of-bc
string

OnlyFans x-bc header for direct sessions (optional override)

x-of-user-agent
string

User agent to use when proxying requests (required when not using x-connection-id)

Path Parameters

listId
number | null

Body

application/json
userIds
(number | null)[]
required

Response

Successful response

list
object[]
required
hasMore
boolean
required
nextOffset
number