GET
Get Latest Contact Import

Authorizations

Authorization
string
header
required

Interactive user session: the login JWT, sent as Authorization: Bearer <token>.

Path Parameters

sequence_id
integer
required

Response

Successful Response

This sequence's imports: the last one, and all of them.

Both, because they answer different questions and the second one was missing. The LATEST fields drive the rejection tile, which is specified to VANISH when nothing was rejected тАФ an aggregate is never empty again after one bad upload, so a tile fed from totals could never go away. The CUMULATIVE fields answer the question an operator actually asks: three files went up, 2,500 of 3,000 rows enrolled, where are the other 500. Nothing about the newest import contains that answer.

The vanishing rule survives on the cumulative side too, and the condition is totals.rejected > 0 тАФ NOT totals_rejections_by_reason being non-empty. The two agree only while every rejection carries a reason code the client renders, and they diverge exactly when it matters: a client deliberately strips codes that are not ingest rejections (do_not_call and friends тАФ dial-time suppression is not a refused row), so gating on the map hides the card and tells an operator nothing happened when 500 rows did not make it. Incomplete beats wrong; show "N rows didn't make it" with no reason tiles. The divergence is deliberate тАФ do not reconcile it by changing the client to match the tidier-looking rule.

import_id null means this sequence has never been imported, and then totals.imports is 0. A client must render nothing rather than a card of zeros: an import that has not happened is not an import that rejected nobody.

import_id
integer | null
status
string | null
started_at
string<date-time> | null
completed_at
string<date-time> | null
source_type
string | null
rows_read
integer | null
rows_accepted
integer | null
rows_rejected
integer | null
failure_reason
string | null
rejections_by_reason
Rejections By Reason ┬╖ object
rejections
ImportRejectionRow ┬╖ object[]
totals
ImportTotals ┬╖ object

Every import of this sequence, added up.

totals_rejections_by_reason
Totals Rejections By Reason ┬╖ object
imports
ImportBatchSummary ┬╖ object[]