Create or update an exclusion list
aiark.lists.upsertCreate, append to or replace a temporary list of people or company ids.
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/09/17Verified working
POSThttps://toolswitch.dev/v1/tools/aiark.lists.upsertPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
Lists expire after 24 hours. An account can keep up to 50 lists per day.
このツールにパラメータはありません。プロバイダのドキュメント ↗ を参照してください Provider docs
レスポンス例
JSON
{
"id": "sanitized-list-id",
"type": "people_id",
"values": [
"00000000-0000-0000-0000-000000000000"
],
"created": true,
"workspace": "sanitized-workspace"
}コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。