Skip to main content
POST
Create 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

Body

application/json
document_external_id
string
required

A document of this passport

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9_.:@/-]+$

Response

The document was read before: the stored reading, with cached true

evidence
object
required
cached
boolean
required
request_id
string
required

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