Get a traveler
GET/v1/travelers/{travelerId}
One passenger, with every field the Travelers drawer shows, missing, paxType and app access. Send its updatedAt as expectedUpdatedAt on a PATCH or DELETE to refuse a stale write. Personal data: audited.
Permissions: travelers:read · Kind: read · Cost: 1 unit
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
travelerId |
uuid | yes |
Query parameters
None.
Response 200
| Field | Type | Required | Description |
|---|---|---|---|
object |
"traveler" | yes | |
id |
uuid | yes | |
tripId |
uuid | yes | |
position |
integer | yes | |
title |
"mr" | "mrs" | "ms" | "mstr" | "miss" | null | yes | |
firstName |
string | null | yes | |
lastName1 |
string | null | yes | |
lastName2 |
string | null | yes | |
birthDate |
string | null | yes | |
sex |
"m" | "f" | null | yes | |
nationality |
string | null | yes | |
docType |
"dni" | "nie" | "passport" | "other" | null | yes | |
docNumber |
string | null | yes | |
docExpiry |
string | null | yes | |
docCountry |
string | null | yes | |
email |
string | null | yes | |
phone |
string | null | yes | |
address |
object | null | yes | |
address.line1 |
string | null | yes | |
address.line2 |
string | null | yes | |
address.postalCode |
string | null | yes | |
address.city |
string | null | yes | |
address.region |
string | null | yes | |
address.country |
string | null | yes | |
taxId |
string | null | yes | |
paxType |
"adult" | "child" | "infant" | "unknown" | yes | |
missing |
string[] | yes | |
access |
"invited" | "queued" | "failed" | "no_email" | "not_yet" | null | yes | |
source |
string | yes | |
consentAt |
string | null | yes | |
docsPurgedAt |
string | null | yes | |
createdAt |
string | yes | |
updatedAt |
string | yes |
Errors
Errors are problem details. Besides the refusals described above, any call like this one can return:
invalid_request— Invalid requestunauthorized— Missing or invalid API keyinsufficient_scope— Missing permissionrate_limited— Rate limit reachednot_found— Not found