Create or update an exclusion list
aiark.lists.upsertCreate, append to or replace a temporary list of people or company ids.
- Price
- freeAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Sep 17, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/aiark.lists.upsertPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
Lists expire after 24 hours. An account can keep up to 50 lists per day.
This tool has no parameters. See provider docs ↗ Provider docs
Example response
JSON
{
"id": "sanitized-list-id",
"type": "people_id",
"values": [
"00000000-0000-0000-0000-000000000000"
],
"created": true,
"workspace": "sanitized-workspace"
}Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/aiark.lists.upsert' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"type":"people_id","values":["00000000-0000-0000-0000-000000000000"]}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/aiark.lists.upsert",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"type\":\"people_id\",\"values\":[\"00000000-0000-0000-0000-000000000000\"]}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/aiark.lists.upsert", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"type\":\"people_id\",\"values\":[\"00000000-0000-0000-0000-000000000000\"]}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.