Reference / Watchlists / Follow a large company-list import
Follow a large company-list import
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}
Documented from the OpenAPI contract, API version 2.0.0.
Read the full description
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.
Authentication and headers
Every route needs an API key. You create it in the dashboard, under Integrations then API. See how to get a key.
Authorization required Bearer followed by your API key, for example Bearer USR_...
Parameters
signalId string path required Id of the watchlist signal, as returned by the create endpoint.
importId string path required importId from the 202 answer of POST /companies.
Responses
200 OK Response schema
importId string required signalId string required status string required 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 required -
"append" -
"replace"
totalEntries integer required Entries received.
processedEntries integer required Entries read so far.
added integer required 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 required Companies already on the list.
duplicates integer required Entries naming a company another entry of the same call already named; merged into it.
invalid integer required Entries with no usable company name, domain or LinkedIn page.
stoppedWatching integer optional Companies dropped by a replace, set when status is done.
totalWatched integer optional accepts null Companies watched once the import is done; null before.
errors object[] optional Up to 20 of the invalid entries, as sent, with the reason.
2 fields in errors
entry string | object optional accepts null The entry as you sent it.
-
additionalProperties: true
reason string required Why it could not be used.
error string optional accepts null Why the import failed, when status is failed.
createdAt string optional accepts null startedAt string optional accepts null finishedAt string optional accepts null 404 No watchlist signal with this id on your account 422 Validation Error Response schema · HTTPValidationError
detail object[] optional 5 fields in detail
loc string | integer[] required msg string required type string required input any optional ctx object optional 429 Rate limit exceeded. Retry after the number of seconds in the Retry-After response header.