Add profiles to a list
/lists/{id}/profilesUp to 1,000 profiles per request, each named by id or email. Adding is idempotent. A reference that matches no profile of the account is reported at its index (not_found) and never fails the others. A person who unsubscribed from this list is not added again (unsubscribed at its index). Adding to a list does not change anyone's consent: membership is not permission to email.
Permission: lists:write · on the API key screen: Lists → Full access · All permissions
Path parameters
idstringrequiredThe id of the list.
Body parameters
profilesobject[]requiredAt most 1000 items.
Show propertiesHide properties
idstringAt most 2,000 characters.
external_idstringAt least 1 characters. At most 255 characters.
emailstringAt most 254 characters.
Response
changednumberrequirednot_foundnumberrequiredunsubscribednumberrequiredProfiles that were NOT added because the person unsubscribed from this list. Always 0 when removing.
resultsobject[]requiredAt most 1000 items.
Show propertiesHide properties
indexnumberrequiredstatusstringrequiredOne of:
oknot_foundinvalidunsubscribedAt most 2,000 characters.
profile_idstring | nullrequiredAt most 2,000 characters.