Skip to main content
POST
Run a slow service (a list of 1 to 100 inputs)

Authorizations

Authorization
string
header
required

API key ret_live_… created in Settings → API keys.

Headers

Retriever-Fresh
enum<string>

true: a new, billed search for every line, even when your organization has a recent answer.

Available options:
true

Body

application/json
service
string
required
Example:

"getPhoneNumber"

inputs
object[]
required
Required array length: 1 - 100 elements

Response

Every input already had an answer: the batch is complete.

ok
boolean
batch_id
string
Example:

"svcbatch_9f2c4b1e8a7d6c5f"

service
string
size
integer
status
enum<string>

completed once every job has ended, whatever each one's outcome.

Available options:
queued,
running,
completed
counts
object
jobs
object[]

One entry per input, in the order sent.

poll_url
string