Subscribe Profiles to List
POST {{baseUrl}}/v2/list/:list_id/subscribe
Subscribes profiles to a list. Profiles will be single or double opted into the specified list in accordance with that list’s settings. Note: If you have double opt-in enabled (default behavior), users will not be added to list until they opt-in, and so API will respond with an empty list: []
Request Body
{"profiles"=>[{"email"=>"george.washington@klaviyo.com"}, {"phone_number"=>"+13239169023", "sms_consent"=>true}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
[]