cURL
curl --request POST \ --url https://api-next.ofauth.com/v2/access/users/:userId/lists \ --header 'Content-Type: application/json' \ --header 'apiKey: <api-key>' \ --header 'x-connection-id: <api-key>' \ --data ' { "listIds": [ 1 ] } '
{ "success": [ { "listId": 123, "success": true } ], "errors": [ { "listId": 123, "error": "<string>" } ] }
Add a single user to multiple lists in one call
Permission Required: lists:write
lists:write
Your OFAuth API key for authenticating requests.
Requires a connection via the x-connection-id header.
List IDs to add the user to
1 - 5
List ID
x > 0
Successful response
Show child attributes
Was this page helpful?