Mark companies good or poor fit
oceanio.companies.segment.mark_domainsAppend domains to the positive or negative list of an existing segmentation
- Price
- freeZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
- Latency p50
- ——
- Last verified
- 20.08.2026Verified working
POSThttps://toolswitch.dev/v1/tools/oceanio.companies.segment.mark_domainsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
the feedback loop: closed-won accounts in as positive, churned or disqualified ones as negative, then re-run the segmentation. Returns {"status": "updated"}
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Pfadparameter | ||||
segmentation_id | Ganzzahl | Erforderlich | the segmentation to teach | 153746 |
- Pfadparameter
segmentation_idGanzzahlErforderlichthe segmentation to teach
Beispiel:
153746
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/oceanio.companies.segment.mark_domains' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"type":"positive","domains":["adyen.com"]}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/oceanio.companies.segment.mark_domains",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"type\":\"positive\",\"domains\":[\"adyen.com\"]}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/oceanio.companies.segment.mark_domains", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"type\":\"positive\",\"domains\":[\"adyen.com\"]}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit free einschließlich Servicegebühr abgerechnet.