Skip to main content
POST
Review passport origin evidence

Authorizations

Authorization
string
header
required

An InsightChain API key: ic_live_... for your organization, ic_test_... for its sandbox

Headers

Idempotency-Key
string

Makes a retry safe for 24 hours: the same key and body replays the first answer (Idempotency-Replayed: true), another body is 422 idempotency_key_reused, a request still running is 409 idempotency_key_in_use

Required string length: 1 - 128
Pattern: ^[\x21-\x7E]{1,128}$

Path Parameters

id
required

The record's id (a UUID), or ext:<external_id> with your own id for it, URL-encoded

evidence_id
string<uuid>
required

The id from the passport's origin evidence list

Body

application/json
decision
enum<string>
required
Available options:
confirm,
reject
note
string
Maximum string length: 500
country
string

The origin country you confirm (ISO 3166-1 alpha-2). Required when decision is confirm

Pattern: ^[A-Za-z]{2}$
region_code
string

ISO 3166-2 subdivision of the confirmed country, e.g. IN-GJ

Maximum string length: 6
Pattern: ^[A-Za-z]{2}-[A-Za-z0-9]{1,3}$
region_name
string
Maximum string length: 120
material_external_ids
string[]
Maximum array length: 50
Required string length: 1 - 128
Pattern: ^[A-Za-z0-9_.:@/-]+$
plot_commodity
enum<string>

Required when decision is confirm and the document carries plots

Available options:
cattle,
leather,
wood,
rubber,
coffee,
cocoa,
palm_oil,
soy

Response

OK

evidence
object
required
report
object | null
required
eudr
object | null
required
written
object | null
required

What a confirmation wrote; report, eudr and written are null after a rejection

request_id
string
required

Quote this when asking about the request; also the X-Request-ID header