Mark companies good or poor fit
oceanio.companies.segment.mark_domainsAppend domains to the positive or negative list of an existing segmentation
- Price
- freeAl precio del proveedor
- Success rate
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- Latency p50
- ——
- Last verified
- 20 ago 2026Verified working
POSThttps://toolswitch.dev/v1/tools/oceanio.companies.segment.mark_domainsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
the feedback loop: closed-won accounts in as positive, churned or disqualified ones as negative, then re-run the segmentation. Returns {"status": "updated"}
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de ruta | ||||
segmentation_id | entero | Obligatorio | the segmentation to teach | 153746 |
- Parámetros de ruta
segmentation_identeroObligatoriothe segmentation to teach
Ejemplo:
153746
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a free, incluida la tarifa de servicio.