Skip to main content
POST/users-by-id/:custom_id/add_to_list/

Add to list

You can add a specific user to a list.

AttributesTypeRequiredDescription
custom_idintegeryesThe unique identifier for the user which is provided by the client.
listintegeryesA unique identifier for the list which is given by User.com automatically.

Request​

curl -X POST -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2" -H "Content-Type: application/json" -d '{
"list": 83
}' "https://<your_app_subdomain>.user.com/api/public/users-by-id/:custom_id/add_to_list/"

Response​

{
"id":1722
}