Personyze Personyze developer docs
Open Personyze
Users

REST User to User Lists Association object

Personyze developer documentation Questions: support@personyze.com

For information about how REST API works, see rest main page.

REST "user_list_users" object allows you to associate users to user lists.

The endpoint URL is:

app.personyze.com/rest/user_list_users

Insert example

It's possible to add a user by "user_id" (Personyze user ID) or "user_email".

user_internal_id does not currently resolve. Adding a member by your own identifier fails with User not found by internal_id, because internal_id is not usable as a lookup key on the users object. Use user_email or user_id.

curl --data '{"user_list_id": 8, "user_id": 123}' 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/user_list_users'
curl --data '{"user_list_id": 8, "user_internal_id": "123-456-HELO"}' 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/user_list_users'
curl --data '{"user_list_id": 8, "user_email": "johnny@gmail.com"}' 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/user_list_users'

Select example

Select 10 lists.

curl 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/user_list_users/limit/10'

Delete example

Delete list with ID "8" and user_id 123.

curl -X DELETE 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/user_list_users/where/user_list_id=8&user_id=123'