# Add to list
You can add a specific user to a list.
POST
/users/:id/add_to_list/
Attributes | Type | Required | Description |
---|---|---|---|
id | integer | yes | A unique identifier for the user which is given by User.com automatically. |
list | integer | yes | A unique identifier for the list which is given by User.com automatically. |
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X POST -H "Authorization: Token \<your_64_char_api_key>" -H "Content-Type: application/json" -d '{
"list": 83
}' "https://<your_app_subdomain>.user.com/api/public/users/:id/add_to_list/"
# Response
{
"id":1722
}