curl --request POST \
--url https://api.hubapi.com/contacts/v1/lists/{list_id}/add \
--header 'Content-Type: application/json' \
--data '
{
"vids": [
123
],
"emails": [
"<string>"
]
}
'{
"updated": [
123
],
"discarded": [
123
],
"invalidVids": [
123
],
"invalidEmails": [
"<string>"
]
}Add contact records that have already been created in the system to a contact list. You can add multiple records at once, either by vid or by email address. Up to 500 records can be added to a list in a single request. Note that you cannot manually add contacts to dynamic lists.
curl --request POST \
--url https://api.hubapi.com/contacts/v1/lists/{list_id}/add \
--header 'Content-Type: application/json' \
--data '
{
"vids": [
123
],
"emails": [
"<string>"
]
}
'{
"updated": [
123
],
"discarded": [
123
],
"invalidVids": [
123
],
"invalidEmails": [
"<string>"
]
}You need to include the ID for the list you're adding the contacts to.
Was this page helpful?