TravelyfeHelp
DevelopersAPI ReferenceDocuments

List Documents

GET
/v1/itinerary/{id}/documents

Names and kinds of the documents on an itinerary. 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

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/documents"
{  "data": [    {      "id": "string",      "name": "string",      "kind": "string",      "mimeType": "string",      "size": 0,      "url": "http://example.com"    }  ]}