Check if Profiles Are in a List
POST {{baseUrl}}/v2/list/:list_id/get-members
Checks if one or more emails, phone numbers, or push tokens are in a given list. No distinction is made between a person not being in a given list, and not being present in Klaviyo at all. Can check up to a maximum of 100 emails at a time.
Request Body
{"emails"=>["george.washington@klaviyo.com", "abraham.lincoln@klaviyo.com"], "phone_numbers"=>["+13239169023", "+12028837032"], "push_tokens"=>["PUSH_TOKEN_1", "PUSH_TOKEN_2"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
[{"created":"YYYY-MM-DDTHH:MM:SSZ","email":"george.washington@klaviyo.com"},{"created":"YYYY-MM-DDTHH:MM:SSZ","phone_number":"+13239169023"},{"created":"YYYY-MM-DDTHH:MM:SSZ","push_token":"PUSH_TOKEN_1"}]