Skip to main content
POST
Save a company search to a list

Authorizations

Authorization
string
header
required

An API key from the console, starting ob_live_, sent as Authorization: Bearer <key>.

Headers

Idempotency-Key
string

Names this operation, so a retry with the same key and body gets the first success again, marked Idempotent-Replayed, instead of running or charging twice. A mailbox's password is not compared: the same mailbox sent again with another password is the same call, and gets the first answer. Kept 24 hours for your organization and this route. A refusal (4xx) frees the key at once, so a corrected retry runs. After a server error (5xx), which may still take effect, the key stays held for 5 minutes from the call's start, and a retry in that time answers 409 idempotency_in_progress; after that, a send or import that may already have gone out answers 409 idempotency_outcome_unknown instead of running again. 1 to 255 visible ASCII characters, such as a UUID.

Required string length: 1 - 255
Pattern: ^[\x21-\x7E]+$

Body

application/json
limit
integer
required

The most companies to save, 1 to 10,000. limit times $0.001 is held when the save starts.

Required range: 1 <= x <= 10000
listId
string
required

The company list to save the companies to.

Required string length: 24
Pattern: ^[0-9a-fA-F]+$
query
string

Which companies to save, in plain language.

Required string length: 1 - 2000
Example:

"logistics companies in Portugal"

filters
object

Filters by name, with values from GET /v1/companies/filters and GET /v1/companies/autocomplete.

Example:
savedSearchId
string

Run a saved company search by its id.

Required string length: 24
Pattern: ^[0-9a-fA-F]+$
savedSearchName
string

Run a saved company search by its title. A title several saved searches share answers 409 saved_search_name_ambiguous.

Required string length: 1 - 255

Response

The job, started. Read its progress and result with GET /v1/jobs/{jobId}.

id
string
required
type
enum<string>
required

What the job does.

Available options:
email_verification,
people_enrichment,
list_enrichment,
company_save
status
enum<string>
required

running until the job ends as succeeded, failed or cancelled.

Available options:
running,
succeeded,
failed,
cancelled
units
object[]
required

What the job produced so far, by price item.

createdAt
string<date-time>
required
listId
string

For a list enrichment, the list it runs over, and for a company save, the company list it saves to. What either adds is on the list's rows: read them with GET /v1/lists/{listId}/rows.

find
enum<string>

For an enrichment, what it looks for.

Available options:
email,
phone,
email_and_phone
providers
enum<string>

For an enrichment, where it looks.

Available options:
package,
waterfall
progress
object

How far the job got. Absent until it reports progress. For a company save, done is the companies saved so far and total its limit.

chargedUsd
string

What the job was charged, in US dollars as an exact six-decimal string. Present once it ended.

results
object[]

For a people enrichment, once it ended: every person's result, in the order the request named them. Shown to keys that can read enrichment.

finishedAt
string<date-time>

When the job ended. Absent while it runs.