TravelyfeHelp
DevelopersAPI ReferenceItineraries

List A Traveller's Itineraries

GET
/v1/itineraries/{userId}

A traveller's itineraries you are allowed to see. Use me style ids from your own session to list your library.

AuthorizationBearer <token>

A Travelyfe access token.

In: header

Path Parameters

userId*string

The traveller's user id.

Formatuuid

Query Parameters

filter?string

all (default), owned, shared or published.

Default"all"
updatedSince?string

Only itineraries changed after this ISO 8601 time.

Formatdate-time
limit?integer

1 to 100.

Default25
cursor?string

The nextCursor from the previous page.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/itineraries/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "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"}