Skip to main content
POST
List opted-out people

How It Works

When a person opts out of the sale of their information or asks to be deleted, we stop delivering them from then on. Data you already received from us may still hold them. This endpoint lists the legion_id of every such person, so you can delete them from your copy. The list holds legion_id values only, never names or contact details. It also lists the legion_id values a person had before records were merged or split, so a person you received under an older legion_id is on the list too. When a record is split into two people, its legion_id is listed, though one of the two may keep it: delete what you hold under it all the same. A record we deliver to you under that legion_id after it was listed is the person who kept it, and you may use it. The list is free, available to any API key, and rate limited to 60 requests per minute.

Reading the Whole List

The list pages the way Person Search does: send limit, then pass each page’s next_cursor as cursor until next_cursor is null. The list comes in ascending order. The cursor is opaque: send it back as you received it.
limit sets how many legion_id values a page holds, from 1 to 10,000 (default 1,000). Like Person Search, the endpoint also takes the same fields as query parameters on a GET.

What You Need to Do

If you keep data you received from us, our Acceptable Data Use Policy requires you to:
  1. Read the whole list at least every 45 days
  2. Within 45 days of a legion_id appearing on the list, delete that person’s data you received from us, from every copy you hold
  3. Keep the legion_id itself only to make sure you never use that person’s data again
Match on legion_id, the identifier every record we deliver carries. Store it beside the data you keep.

Authorizations

API-Key
string
header
required

Body

application/json

Request model for the opt-out list: a page, paged as Search pages (limit, then next_cursor as cursor).

limit
integer
default:1000

legion_ids per page (default: 1,000, max: 10,000).

Required range: 1 <= x <= 10000
cursor
string | null

Continue from the previous page's next_cursor: the next page of the list. Omit for the first page.

Maximum string length: 65536

Response

Success - one page of opted-out legion_ids

One page of opted-out person records.

legion_ids
string[]
required

legion_ids of people who opted out or asked to be deleted, and the legion_ids they had before records were merged or split, in ascending order. Delete these people from data you received from us.

next_cursor
string | null

Pass as cursor to read the next page; null on the last page.