Get a trip's booking contact
GET/v1/trips/{tripId}/contact
The trip's booking contact — the person who books and pays, who need not travel — as the contact panel shows it, with the traveler account that holds the booking and its app access. 404 not_found when the trip has no contact yet. Personal data: audited.
Permissions: travelers:read · Kind: read · Cost: 1 unit
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
tripId |
uuid | yes |
Query parameters
None.
Response 200
| Field | Type | Required | Description |
|---|---|---|---|
object |
"trip_contact" | yes | |
tripId |
uuid | yes | |
name |
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 | |
docType |
"dni" | "nie" | "passport" | "other" | null | yes | |
docNumber |
string | null | yes | |
docCountry |
string | null | yes | |
taxId |
string | null | yes | |
account |
object | yes | |
account.userId |
uuid | yes | |
account.email |
string | null | yes | |
account.name |
string | null | yes | |
access |
"invited" | "queued" | "failed" | "no_email" | "not_yet" | null | yes | |
accessOpenedAt |
string | null | 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