TravelyfeHelp
DevelopersReferenceItineraries

List Your Itineraries

GET
/v1/itineraries

Your own library: itineraries you made, ones shared with you, and ones you saved, liked or disliked.

AuthorizationBearer <token>

A Travelyfe access token.

In: header

Query Parameters

filter?string

all (the default), owned, shared, saved, liked or disliked.

Value in

  • "all"
  • "owned"
  • "shared"
  • "saved"
  • "liked"
  • "disliked"
updatedSince?string

Only itineraries changed after this time.

Formatdate-time
limit?integer

Up to 50. Defaults to 25.

cursor?string

The nextCursor from the previous page. Never build one yourself.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/itineraries"
{  "data": [    {      "id": "string",      "title": "string",      "destination": "string",      "summary": "string",      "heroImageURL": "string",      "startDate": "2019-08-24",      "tags": [        "string"      ],      "visibility": "string",      "role": "string",      "dayCount": 0,      "stopCount": 0,      "author": {},      "updatedAt": "2019-08-24T14:15:22Z",      "etag": "string"    }  ],  "nextCursor": "string"}