Get All Exclusions for a List

GET {{baseUrl}}/v2/list/:list_id/exclusions/all?marker=123456

Gets all of the emails and phone numbers that have been excluded from a list along with the exclusion reasons and exclusion time. This endpoint uses batching to return the records, so for a large list multiple calls will need to be made to get all of the records.

Request Params

KeyDatatypeRequiredDescription
markernumberA marker value returned by a previous GET call. Use this to grab the next batch of records.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"records":[{"id":"PERSON_ID_1","email":"george.washington@klaviyo.com","reason":"Bounced","created":"2018-07-03T13:44:38Z"},{"id":"PERSON_ID_2","email":"thomas.jefferson@klaviyo.com","reason":"Unsubscribed","phone_number":"+13239169023","phone_reason":"Unsubscribed"}],"marker":123456}