Skip to content
Navigation

Get a shared saved list

GET
https://api.nicer.travel/favorites/shared/{shareId}

Returns a shared saved list, newest first, with its owner's first name and photo. Reachable without a token: the link id is the only credential, and it stops working the moment its owner stops sharing.

Path parameters

  • shareId
    string
    required

Returns

200

OK

JSON
  • items
    array of
    object
    required
    • name
      string
      required
      maxLength: 300 · minLength: 1
    • kind
      HOTEL
      or
      ACTIVITY
      required
    • reference
      string
      required
      maxLength: 512 · minLength: 1
    • activity
      optional

      Any of the following:

      • FavoriteActivity
        • destinationId
          string
          required
          maxLength: 32 · minLength: 1
        • destinationName
          required

          Any of the following:

          • string
          • null
        • durationMinutes
          required

          Any of the following:

          • integer
          • null
        • reviewCount
          required

          Any of the following:

          • integer
          • null
      • null
    • city
      optional

      Any of the following:

      • string
      • null
    • country
      optional

      Any of the following:

      • string
      • null
    • imageUrl
      optional

      Any of the following:

      • string
      • null
    • latitude
      optional

      Any of the following:

      • number
      • null
    • longitude
      optional

      Any of the following:

      • number
      • null
    • rateCodes
      optional

      Any of the following:

      • array<string>
      • null
    • starRating
      optional

      Any of the following:

      • number
      • null
    • createdAt
      optional
      string
  • owner
    object
    required
    • avatarUrl
      required

      Any of the following:

      • string
      • null
    • firstName
      required

      Any of the following:

      • string
      • null

400

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close