TravelyfeHelp
DevelopersAPI ReferenceDocuments

Get A Document

GET
/v1/itinerary/{id}/document/{docId}

One document's details and a short-lived download link to its sealed file. Documents are encrypted on the traveller's own devices before upload; the server only ever holds the sealed file and never its contents. Requires Travelyfe Pro.

AuthorizationBearer <token>

A Travelyfe access token.

In: header

Path Parameters

id*string

The itinerary id (UUID).

Formatuuid
docId*string

The document id.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/itinerary/497f6eca-6276-4993-bfeb-53cbbbba6f08/document/string"
{  "id": "string",  "name": "string",  "kind": "string",  "mimeType": "string",  "size": 0,  "url": "http://example.com"}