Add Members to a List
POST {{baseUrl}}/v2/list/:list_id/members
Adds profiles to a list. This endpoint is functionally equivalent to adding profiles to a list via a CSV upload and will immediately add profiles to the list. If you would like to subscribe profiles to a list and use the double opt-in settings for the list, please use the subscribe endpoint.
Request Body
{"profiles"=>[{"email"=>"george.washington@klaviyo.com"}, {"phone_number"=>"+13239169023"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
[{"id":"PERSON_ID_1","email":"george.washington@klaviyo.com"},{"id":"PERSON_ID_2","email":"thomas.jefferson@klaviyo.com","phone_number":"+13239169023"},{"id":"PERSON_ID_3","email":"abraham.lincoln@klaviyo.com","phone_number":"+12028837032"}]