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
Key | Datatype | Required | Description |
---|---|---|---|
marker | number | A marker value returned by a previous GET call. Use this to grab the next batch of records. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
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}