Skip to main content
POST
Verify a passport file number (v1)
Send a passport application file number and the applicant’s date of birth, and get the application record: name, date of birth, file number and application details. This is a v1 endpoint: the response is a flat object, not the v2 envelope. The layout depends on how your account is set up: either the details sit under data.passport_data, or they are top-level fields. The schema lists both. Every response also carries tranx_id and timestamp.

Environments

Billing

Charged when status is success. chargeble and user_consent are "true" only on a charged call. When no record matches the file number and date of birth, the result depends on the layout your account receives:
  • data.passport_data layout: HTTP 200 with status: "success", error_code: "IDTO_202" and no data.passport_data. This is a definitive answer and is charged. An overseas application also has no data.passport_data, but carries no error_code; read data.message.
  • Top-level layout: an error status, not charged.
This endpoint has no Idempotency-Key support. A retried call runs again and can be charged twice. Retry only after you have confirmed the first call failed.
There is no v2 version of this endpoint yet.

Request

Errors

Every wrapped detail object also carries data: null, tranx_id and timestamp.

Test scenarios

Questions: Documents FAQ. Was this page helpful? Email us at tech@idto.ai with the page link.

Authorizations

X-Client-ID
string
header
default:<client-id>
required

The Client ID shown on the API Credentials page of the idto dashboard. It is not your account or customer ID, which returns 401. Send it on every server-to-server request together with X-API-Key. Staging and production client IDs are different.

X-API-Key
string
header
default:<api-key>
required

Your API key from the idto dashboard (API credentials). Keep it on your server; never ship it in a browser or mobile app. Send it on every server-to-server request together with X-Client-ID.

Body

application/json
file_number
string
required

The passport application file number.

Example:

"BNG000000000001"

dob
string<date>
required

Applicant's date of birth as YYYY-MM-DD, a real calendar date.

Example:

"1990-01-01"

user_id
string

Your own reference for the end user.

Response

The lookup ran. Charged. On the data.passport_data layout, a definitive no-record is also 200 with status success and error_code IDTO_202, and is charged.

The layout depends on how your account is set up: either the details sit under data.passport_data, or they are top-level fields (file_number, full_name, dob, passport_number, date_of_application, application_type).

application_type
null
client_id
string
data
object
date_of_application
null
dob
string
file_number
string
full_name
null
passport_number
null
status
string
tranx_id
string

idto transaction id for this call.

timestamp
string<date-time>
chargeble
enum<string>

Present and "true" only when the call was charged.

Available options:
true

Present and "true" only when the call was charged.

Available options:
true
error_code
string | null

IDTO_202 when no record matches (on the data.passport_data layout). Absent otherwise.

Last modified on December 1, 2026