curl --request POST \
--url https://api-next.ofauth.com/v2/access/users/lists \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--data '
{
"name": "<string>"
}
'{
"id": "<string>",
"type": "<string>",
"name": "<string>",
"usersCount": 123,
"postsCount": 123,
"users": [
{
"id": 123,
"username": "<string>",
"name": "<string>",
"isVerified": true,
"avatar": "<string>",
"avatarThumbs": {
"c50": "<string>",
"c144": "<string>"
}
}
],
"listsStates": [
{
"id": "<string>",
"type": "<string>",
"name": "<string>",
"hasUser": true,
"canAddUser": true,
"cannotAddUserReason": "<string>"
}
],
"success": true
}Create user list
curl --request POST \
--url https://api-next.ofauth.com/v2/access/users/lists \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--data '
{
"name": "<string>"
}
'{
"id": "<string>",
"type": "<string>",
"name": "<string>",
"usersCount": 123,
"postsCount": 123,
"users": [
{
"id": 123,
"username": "<string>",
"name": "<string>",
"isVerified": true,
"avatar": "<string>",
"avatarThumbs": {
"c50": "<string>",
"c144": "<string>"
}
}
],
"listsStates": [
{
"id": "<string>",
"type": "<string>",
"name": "<string>",
"hasUser": true,
"canAddUser": true,
"cannotAddUserReason": "<string>"
}
],
"success": true
}Connection ID for managed sessions
OnlyFans user id for direct sessions (optional override)
OnlyFans cookie header for direct sessions (must include auth_id and fp values)
OnlyFans x-bc header for direct sessions (optional override)
User agent to use when proxying requests (required when not using x-connection-id)
Successful response
Was this page helpful?