get https://a.klaviyo.com/api/v2/group//members/all
Gets all of the emails, phone numbers, and push tokens for profiles in a given list or segment
Response
Gets all of the emails, phone numbers, and push tokens for profiles in a given list or segment
xxxxxxxxxx
curl --request GET \
--url 'https://a.klaviyo.com/api/v2/group/LIST_OR_SEGMENT_ID/members/all?api_key=PRIVATE_API_KEY' \
--header 'accept: application/json'
xxxxxxxxxx
15{
"records": [
{
"id": "PERSON_ID_1",
"email": "george.washington@klaviyo.com"
},
{
"id": "PERSON_ID_2",
"email": "thomas.jefferson@klaviyo.com",
"phone_number": "+13239169023",
"push_token": "03df25c845d460bcdad7802d2vf6fc1dfde97283bf75cc993eb6dca835ea2e2r"
}
],
"marker": 456789
}