Skip to main content
POST
/
v2
/
access
/
users
/
:userId
/
user-lists
/
batch
Add user to multiple lists
curl --request POST \
  --url https://api.ofauth.com/v2/access/users/:userId/user-lists/batch \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <api-key>' \
  --data '
{
  "listIds": [
    1
  ]
}
'
{
  "success": true,
  "results": [
    {
      "listId": 123,
      "success": true,
      "error": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.ofauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

x-connection-id
string
header
required

Requires a connection via the x-connection-id header.

Path Parameters

userId
string
required

Body

application/json
listIds
(integer | string)[]
required

List IDs to add the user to

Required array length: 1 - 5 elements

List ID

Required range: x > 0

Response

Successful response

success
boolean
required
results
object[]
required