Référence / Watchlists / Follow a large company-list import
Follow a large company-list import
Les résumés et descriptions des routes viennent du contrat OpenAPI et restent en anglais.
Follow a company list of more than 10,000 entries from upload to done — know when your new account list is the one in effect, and which entries could not be used.
GET https://api.rodz.io/api/v1/watchlists/{signalId}/companies/imports/{importId}
Documenté depuis le contrat OpenAPI, version 2.0.0 de l’API.
Lire la description complète
Follow a company list of more than 10,000 entries from upload to done — know when your new account list is the one in effect, and which entries could not be used.
Input: signalId and importId (path parameters), the importId from the 202 answer of POST /api/v1/watchlists/{signalId}/companies.
Output: status: queued, running, done (the list in effect is now the result of this import) or failed (nothing on the list was changed: send the list again); mode; totalEntries and processedEntries (progress); added (companies watched that were not before), alreadyWatched, duplicates (entries naming a company another entry of the call already named, merged into it), invalid (entries with no usable name, domain or LinkedIn page); stoppedWatching (companies dropped by a replace) and totalWatched, both set once done; errors (up to 20 of the invalid entries, as sent, with the reason); error (why a failed import failed); createdAt, startedAt, finishedAt.
Poll every few seconds; an import of 150,000 companies usually completes in a few minutes.
Authentification et en-têtes
Toutes les routes demandent une clé d’API. Vous la créez dans le tableau de bord, sous Intégrations puis API. Voir comment obtenir une clé.
Authorization requis Bearer suivi de votre clé d’API, par exemple Bearer USR_...
Paramètres
signalId string path requis Id of the watchlist signal, as returned by the create endpoint.
importId string path requis importId from the 202 answer of POST /companies.
Réponses
200 OK Schéma de la réponse
importId string requis signalId string requis status string requis queued (waiting to start), running, done (the list now in effect is the result of this import) or failed (nothing on the list was changed; send the list again).
-
"queued" -
"running" -
"done" -
"failed"
mode string requis -
"append" -
"replace"
totalEntries integer requis Entries received.
processedEntries integer requis Entries read so far.
added integer requis Companies that will be watched and were not before (new, or watched again after being removed). Counted as they are read; they take effect when status is done.
alreadyWatched integer requis Companies already on the list.
duplicates integer requis Entries naming a company another entry of the same call already named; merged into it.
invalid integer requis Entries with no usable company name, domain or LinkedIn page.
stoppedWatching integer facultatif Companies dropped by a replace, set when status is done.
totalWatched integer facultatif accepte null Companies watched once the import is done; null before.
errors object[] facultatif Up to 20 of the invalid entries, as sent, with the reason.
2 champs dans errors
entry string | object facultatif accepte null The entry as you sent it.
-
additionalProperties: true
reason string requis Why it could not be used.
error string facultatif accepte null Why the import failed, when status is failed.
createdAt string facultatif accepte null startedAt string facultatif accepte null finishedAt string facultatif accepte null 404 No watchlist signal with this id on your account 422 Validation Error Schéma de la réponse · HTTPValidationError
detail object[] facultatif 5 champs dans detail
loc string | integer[] requis msg string requis type string requis input any facultatif ctx object facultatif 429 Rate limit exceeded. Retry after the number of seconds in the Retry-After response header.