CheckEnrichEmailJob

View as Markdown
## Polls the status of an email-enrichment job created via `enrich-email`. ### Path Parameters - **jobId** _(long, required)_: Id returned by `enrich-email` when the job was created. ### Response fields - **jobId** _(long)_ - **status** _(string)_: Where the job is in its lifecycle - one of `PENDING`, `IN_PROGRESS`, `COMPLETED`, `FAILED`. - **data** _(object, optional)_: Present only once `status` is `COMPLETED`. - **status** _(string)_: What the enrichment produced - one of `ENRICHED`, `EMAIL_NOT_FOUND`, `CANCELLED`, `FAILED`. - **message** _(string)_: Human-readable summary of `data.status`. - **emailAddress** _(string, optional)_: The enriched email address. Only set when `data.status` is `ENRICHED`. - **memberId** _(string)_: LinkedIn member id of the enriched lead. - **profileUrl** _(string)_: LinkedIn profile URL of the enriched lead. ### Errors Returns **400** with body `{ "errorMessage": "..." }` when the job is in a state that doesn't support this operation: `The enrichment job with id <jobId> is in an invalid state for this operation.` Returns **404** with body `{ "errorMessage": "..." }` when no job with the given id exists for your tenant: `Enrichment job with id <jobId> not found.`

Path parameters

jobIdstringRequired

(Required)

Headers

X-API-KEYstringOptional

API key header using this scheme. Example: “X-API-KEY: {API_KEY}

Response

OK
jobIdinteger
statusstring
dataobject