Skip to content
Navigation

List trips

GET
https://api.nicer.travel/travelers-trip

Returns one page of the trips the caller belongs to, newest first — 20 by default, at most 100, with nextToken for the next page. Travelers see their own trips; advisors and staff see the trips of the company they are signed in to. Each item carries the same derived status and isArchived as the single-trip endpoint, and trips whose end date has passed are archived as they are listed.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Query parameters

  • fields
    optional
    string

    Comma-separated item fields to return, dotted for nested ones — for example travelersTripId,tripTitle,destinations.name; a leading - removes a path from what is kept. nextToken is always answered. Omitted, an item carries every projected field except the destination photo galleries, which are more than half the body: ask for destinations.photos to get them.

  • filter
    optional
    string

    URL-encoded field=value expressions joined by &, applied to the page after it is read — for example status=PROPOSAL&isArchived=false.

  • limit
    optional
    string

    Trips per page. Defaults to 20, at most 100.

  • nextToken
    optional
    string

    Cursor from the previous response. Omit for the first page.

  • sort
    optional
    asc
    or
    desc

    Order by creation time. Defaults to newest first.

Returns

200

OK

JSON
  • items
    array of
    object
    required
    • associatedUserIds
      array of
      string
      required
    • companyName
      string
      required
    • createdAt
      string
      required
    • destinations
      array of
      object
      required
      • endDateTime
        string
        required
        pattern: ^\d{4}-\d{2}-\d{2}$
      • startDateTime
        string
        required
        pattern: ^\d{4}-\d{2}-\d{2}$
      • address
        optional

        Any of the following:

        • string
        • null
      • amenities
        optional
        array of
        string
      • city
        optional

        Any of the following:

        • string
        • null
      • country
        optional
        string
      • countryCode
        optional
        string
      • description
        optional
        string
      • distanceFromSearch
        optional
        object
        • unit
          km
          or
          mi
          required
        • value
          number
          required
      • features
        optional
        array of
        string
      • fullAddress
        optional
        string
      • gate
        optional

        Any of the following:

        • string
        • null
      • iataCode
        optional

        Any of the following:

        • string
        • null
      • internovaId
        optional
        string
      • latitude
        optional
        number
      • longitude
        optional
        number
      • name
        optional
        string
      • photos
        optional
        array of
        object
        • name
          string
          required
        • key
          optional
          string
        • url
          optional
          string
      • placeId
        optional
        string
      • region
        optional
        string
      • source
        optional
        string
      • state
        optional

        Any of the following:

        • string
        • null
      • terminal
        optional

        Any of the following:

        • string
        • null
      • timeZone
        optional
        string
      • zipCode
        optional

        Any of the following:

        • string
        • null
      • headerImageUrl
        optional
        string
    • isArchived
      boolean
      required
    • primaryTravelerUserId
      string
      required
    • status
      PROPOSAL
      or
      IN_PROGRESS
      or
      TRAVELING
      required
    • travelersTripId
      string
      required
    • tripEndDate
      string
      required
    • tripStartDate
      string
      required
    • tripTitle
      string
      required
    • updatedAt
      string
      required
    • assignedAdvisorUserId
      optional

      Any of the following:

      • string
      • null
    • associatedChatId
      optional

      Any of the following:

      • string
      • null
    • associatedTripItineraryId
      optional

      Any of the following:

      • string
      • null
    • hasActivity
      optional
      boolean
    • travelers
      optional
      object
      • adults
        optional
        number
      • children
        optional
        number
  • nextToken
    optional

    Any of the following:

    • Option 1

      Any of the following:

      • string
      • number
    • null

400

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

401

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

403

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

Type to search…

↑↓ navigate↵ selectEsc close