Skip to main content
POST
Passport fetch

Authorizations

Authorization
string
header
required

Your API key, sent as Authorization: Bearer <your-key>.

Body

application/json

The passport application to read, by its file number and the applicant's date of birth.

file_number
string
required

File number of the passport application, in letters and digits alone, as printed on its receipt, like KA1061234567812

Pattern: ^[A-Z]{2}[A-Z0-9]{8,18}$
date_of_birth
string<date>
required

The applicant's date of birth. It cannot be after today

Response

Successful Response

The passport application the registry holds under a file number; details is null when it holds none.

The registry holding no application is a finding about today: the same request made later asks the registry again, and can find one.

reasons
Reason · object[]

Why the check did not pass, worst first, each a stable code with the text for it. Empty when it passed

details
PassportApplication · object | null

The registry's record of the application