Create exclusion list

Create an exclusion list for Intellimatch searches.

POST https://cotlet.dev/api/v1/findymail/exclusion-lists

write

Returns the list with its ID, name, is_shared and is_owner. A name you already use fails with a 422 error, and sharing without a team fails with a 400 error. It reaches nobody, and the list can be deleted again, so it does not wait for your OK.

Parameters

Parameters: create_exclusion_list
NameTypeDescription
name string required string List name, unique among your lists.
is_shared boolean boolean Share the list with your team. Needs a team account.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/findymail/exclusion-lists \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Jane Doe"}'
Python
result = client.call("findymail", "create_exclusion_list", {"name":"Jane Doe"})
Node.js
const result = await cotlet.call('findymail', 'create_exclusion_list', {"name":"Jane Doe"});
CLI
cotlet call findymail create_exclusion_list --data '{"name":"Jane Doe"}'

Example response

JSON

{
  "id": 1260,
  "name": "Competitors",
  "is_shared": false,
  "is_owner": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.