Skip to main content
POST
/
search
/
exclusion-lists
Create Exclusion List Endpoint
curl --request POST \
  --url https://api.sixtyfour.ai/search/exclusion-lists \
  --header 'Content-Type: application/json' \
  --data '
{
  "source": {
    "type": "<string>",
    "resource_handle_id": "<string>",
    "id_column": "<string>"
  },
  "name": "<string>",
  "entity_type": "person"
}
'
{
  "id": "<string>",
  "status": "<string>"
}

Headers

x-api-key
string | null

Body

application/json
source
ResourceHandleSource · object
required

Build the list from an uploaded CSV (see POST /storage/csv/upload).

name
string | null

Required unless source.type is 'search_id' (defaults to a date-stamped name).

Required string length: 1 - 120
entity_type
enum<string>
default:person
Available options:
person,
company

Response

Successful Response

id
string
required

Exclusion list ID; poll GET /search/exclusion-lists/{id} until ready.

status
string
required

Initial status, always 'pending'.