Skip to main content

Records

Paginated table of the generated emails for a job.

Endpoint​

Method: GET Path: /email-generation/jobs/{job_id}/records/ Full URL: https://backend.ecoreservice.com/api/v1/email-generation/jobs/{job_id}/records/ Auth: Authorization: Bearer <JWT>

Query Parameters​

ParamValuesPurpose
statusValid, No Email, Error, AllFilter by record status
generated_bya finder stage (see below) or AllFilter by which finder produced the email
pageinteger ≥ 1Page number. Default 1.
page_sizeintegerItems per page. Default 100.

Per-record Shape​

{
"id": 1,
"ec_id": null,
"first_name": "Jane",
"last_name": "Doe",
"company_domain": "acme.com",
"matched_company_domain": null,
"generated_email": "jane.doe@acme.com",
"status": "Valid",
"generated_by": "Primary Finder",
"validated_by": "Primary",
"processed_at": "…"
}
FieldTypeDescription
idintegerRecord id
ec_idstring | nullYour identifier (preserved from the ec_id column if present)
first_name / last_namestringThe contact
company_domainstringDomain used to find the email
matched_company_domainstring | nullAlternate matched domain, when supplied
generated_emailstring | nullThe found email (null when No Email)
statusstringSee Status Values
generated_bystring | nullWhich eCore finder stage produced the email — see below
validated_bystring | nullWhich validation stage confirmed the email — follows the Email Validation cascade
processed_atdatetime | nullWhen the record received its final status

Status Values​

ValueMeaning
PendingNot processed yet
ValidEmail found and confirmed
No EmailNo email could be found (refunded)
ErrorProcessing error for this record

generated_by Values​

generated_by reflects which stage of eCore's email-finding cascade produced the address:

ValueNotes
Primary FinderFirst-pass finder
Primary Finder (Matched)First-pass finder, using the matched domain
Secondary Finder (Client)Second-pass finder, client domain
Secondary Finder (Matched)Second-pass finder, matched domain

See Error Codes for the full list.