Skip to main content
POST
Admit a durable Scrub Job

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Opaque key for one logical request, scoped to the authenticated API key. Use a high-entropy value and never include phone numbers or other PII. Exact retries are protected for at least 7 days for v1; v2 keeps the accepted job identity for the job metadata lifetime.

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

Body

application/json

The public API accepts arrays only. Admission has a hard 500,000-entry ceiling and three independent 25 MiB byte guards: raw HTTP body, canonical durable input, and conservative complete-result estimate. The first reached limit controls admission. CSV uploads are available only through the authenticated panel and are not accepted here.

country
enum<string>
required

Technical country code. The current sellable catalog is mx/ar/co. es/au/sg are planned product coverage, end of September 2026, and are not sellable at checkout until their catalog and runtime are released together. Every real request requires a matching Country Purchase and country availability/activation. Colombia is sellable and operational, and a successful initial payment activates its complete API access immediately without manual approval; entitlement and operational availability are still evaluated at admission.

Available options:
mx,
ar,
co,
es,
au,
sg
phones
string[]
required

Phone numbers in international or supported local formats. Durable jobs accept up to 500,000 entries, but admission may reject earlier when the raw HTTP body, canonical durable input, or conservative complete-result estimate exceeds 25 MiB. Invalid and duplicate entries count toward Customer Quota.

Required array length: 1 - 500000 elements
Maximum string length: 64

Response

Terminal idempotent replay of an already succeeded, failed, cancelled, or expired job

Public job state. Provider names, retries, chunks, cost, balance, credentials, and raw provider errors are never included.

job_id
string<uuid>
required

Opaque lowercase UUIDv4 generated by DNC LATAM. It carries no country, tenant, provider, or execution meaning; tenant identity remains internal and is never returned.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
status
enum<string>
required
Available options:
queued,
running,
succeeded,
failed,
cancelled,
expired
country
enum<string>
required

Technical country code. The current sellable catalog is mx/ar/co. es/au/sg are planned product coverage, end of September 2026, and are not sellable at checkout until their catalog and runtime are released together. Every real request requires a matching Country Purchase and country availability/activation. Colombia is sellable and operational, and a successful initial payment activates its complete API access immediately without manual approval; entitlement and operational availability are still evaluated at admission.

Available options:
mx,
ar,
co,
es,
au,
sg
submitted_count
integer
required
Required range: x >= 1
created_at
string<date-time>
required
updated_at
string<date-time>
required
expires_at
string<date-time>
required

State-dependent expiration: queued/running = admission plus the 24-hour active job/input hard cap; succeeded = successful terminalization plus the seven-day result TTL; failed/cancelled/expired = terminalization plus the 30-day metadata TTL. Attached input is eligible for purge at terminalization; an unconfirmed or unknown upload is revalidated at the 24-hour hard cap. This field does not signal input availability.

status_url
string<uri>
required
result_url
string<uri>

Available as a link when a result can still be retrieved.

error
object

Required when status is failed (or expired) and contains the closed public JobError mapping. Cancelled jobs never include this field: cancellation is not an error.

scrub_record
object

Phone-free Screening record once the job is terminal and within the metadata TTL. Cancelled records omit failure. Owning organization only.