Skip to main content
GET
Poll a contact research (Data)

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

publicAPI.v2.all

Public API v2

Query Parameters

requestId
string
required

The requestId returned by the 202 response of /data/contacts/research

Maximum string length: 64
Pattern: ^[A-Za-z0-9_.:-]+$

Response

The request's record; meta.status is researching, completed, partial, failed or not-found

The record of a request, as meta.status tells: the result (completed, partial, failed; the same body the callback receives, plus meta.callback once the callback was posted), researching while the run has not finished, or not-found when the caller has no record of the requestId. Results expire 7 days after the request; that retention is subject to change at any time. In the rare case a finished run's result could not be stored, the record is failed with meta.error.code result-not-stored and only requestId, version, status and error in meta; the callback, when one was requested, still carries the full result. A stored record that can no longer be read is served the same way with meta.error.code result-unreadable. A run that cannot report a result still ends: a job that died before it could finish is recorded as failed with meta.error.code research-aborted, and a request still researching 15 minutes after it was accepted is served as failed with research-timed-out; both keep createdAt and input in meta. research-timed-out is final: a request that did not start within the timeout is failed and never charged, and results are never delivered after it.

type
enum<string>
required
Available options:
contact-result
data
object
required
meta
object
required

Everything about the run rather than the person.