---
title: "Get a trip in the back office"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.nicer.travel/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a trip in the back office

Path: Nicer API › backoffice

`GET /backoffice/trips/{travelersTripId}`

URL: `https://api.nicer.travel/backoffice/trips/{travelersTripId}`

Returns a whole trip record and the people on it: each person's relationship to the trip, whether they archived it and when they last read its chat. The agency is named by the x-nicer-company header and nothing else. Nicer staff who name no agency reach any trip; with an agency named, staff and its admins reach that agency's trips only. An agency admin may name only an agency they administer, and may leave the header out when they administer one. Errors: 404 ERROR_ITEM_NOT_FOUND for a trip that does not exist or belongs to another agency; 400 ERROR_COMPANY_REQUIRED for an admin of several agencies who names none; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is neither Nicer staff nor an admin of the agency named.

## Authentication

- `bearerAuth`, http bearer, header `Authorization`, format `JWT`

## Path parameters

- `travelersTripId` (`backoffice.trips.get.path.travelersTripId`; string, required)

## Header parameters

- `x-nicer-company` (`backoffice.trips.get.header.x-nicer-company`; string, optional) — Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one.

## Code samples

### JavaScript SDK

```javascript
import { createClient } from "@nicertravel/sdk";

const nicer = createClient({
  baseUrl: "https://api.nicer.travel",
  token: process.env.NICER_TOKEN,
});

await nicer.backoffice.trips.get({
  "travelersTripId": "string"
});
```

### Nicer CLI

```bash
nicer backoffice trips get --travelers-trip-id 'string'
```

### cURL

```bash
curl --request GET \
  --url 'https://api.nicer.travel/backoffice/trips/<travelersTripId>' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/backoffice/trips/<travelersTripId>';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.nicer.travel/backoffice/trips/<travelersTripId>"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "members": [
    {
      "createdAt": "2026-11-02T15:04:05.000Z",
      "createdBy": "string",
      "displayName": "string",
      "isArchived": true,
      "lastModifiedBy": "string",
      "lastReadAt": "string",
      "relationship": "BILLING_CONTACT",
      "travelersTripId": "string",
      "type": "TravelersTripUser",
      "updatedAt": "2026-11-03T09:12:44.000Z",
      "userId": "string"
    }
  ],
  "trip": {
    "assignedAdvisorUserId": "string",
    "associatedChatId": "string",
    "associatedTripItineraryId": "string",
    "associatedUserIds": [
      "string"
    ],
    "availableDate": "string",
    "budgetCurrency": "string",
    "companyName": "string",
    "conciergeMessageSentAt": "string",
    "createdBy": "string",
    "createdReason": "CREATED_BY_TRAVELER",
    "deleted": true,
    "deletedAt": "string",
    "deletedBy": "string",
    "destinations": [
      {
        "address": "string",
        "amenities": [
          "string"
        ],
        "city": "string",
        "country": "string",
        "countryCode": "string",
        "description": "string",
        "distanceFromSearch": {
          "unit": "km",
          "value": 0
        },
        "features": [
          "string"
        ],
        "fullAddress": "string",
        "gate": "string",
        "iataCode": "string",
        "internovaId": "string",
        "latitude": 0,
        "longitude": 0,
        "name": "string",
        "photos": [
          {
            "key": "string",
            "name": "string",
            "url": "string"
          }
        ],
        "placeId": "string",
        "region": "string",
        "source": "string",
        "state": "string",
        "terminal": "string",
        "timeZone": "string",
        "zipCode": "string",
        "endDateTime": "string",
        "headerImageUrl": "string",
        "startDateTime": "string"
      }
    ],
    "hasActivity": true,
    "hasFlexibleDates": true,
    "isAllPricesHidden": false,
    "isItineraryVisible": true,
    "isSummaryHidden": false,
    "lastMessageTimestamp": "string",
    "lastModifiedBy": "string",
    "primaryTravelerUserId": "string",
    "specialRequests": "string",
    "suggestionsEnabled": true,
    "travelers": {
      "adults": 0,
      "children": 0
    },
    "tripEndDate": "2026-12-20",
    "tripStartDate": "2026-12-12",
    "tripTitle": "string",
    "amount": 0,
    "budget": "goodValue",
    "purpose": "holidays",
    "who": "solo",
    "travelersTripId": "string",
    "createdAt": "2026-11-02T15:04:05.000Z",
    "updatedAt": "2026-11-03T09:12:44.000Z",
    "type": "TravelersTrip"
  }
}
```

- `members` (`backoffice.trips.get.response.200.members`; array of object, required) — The member edges of the people in associatedUserIds that have one.
  - `createdAt` (`backoffice.trips.get.response.200.members.createdAt`; string, required) — When the person was added to the trip, ISO 8601.
  - `createdBy` (`backoffice.trips.get.response.200.members.createdBy`; string, required) — Who added the person to the trip: a user id, or SYSTEM.
  - `lastModifiedBy` (`backoffice.trips.get.response.200.members.lastModifiedBy`; string, required) — Who last changed the edge: a user id, or SYSTEM.
  - `travelersTripId` (`backoffice.trips.get.response.200.members.travelersTripId`; string, required) — The trip's id.
  - `type` (`backoffice.trips.get.response.200.members.type`; string, required)
  - `updatedAt` (`backoffice.trips.get.response.200.members.updatedAt`; string, required) — When the edge last changed, ISO 8601.
  - `userId` (`backoffice.trips.get.response.200.members.userId`; string, required) — The person's user id.
  - `displayName` (`backoffice.trips.get.response.200.members.displayName`; any of, optional) — The person's name as the trip shows it, when one is stored.
    - any of the following: `string`, `null`
  - `isArchived` (`backoffice.trips.get.response.200.members.isArchived`; boolean, optional) — Whether the person archived the trip in their own list.
  - `lastReadAt` (`backoffice.trips.get.response.200.members.lastReadAt`; any of, optional) — When the person last read the trip's chat, ISO 8601; null or absent if never.
    - any of the following: `string`, `null`
  - `relationship` (`backoffice.trips.get.response.200.members.relationship`; string, optional) — How a person takes part in a trip: PRIMARY (the lead traveler), TRAVELER, PAYER or BILLING_CONTACT.
    - one of `"BILLING_CONTACT"`, `"PAYER"`, `"PRIMARY"`, `"TRAVELER"`
- `trip` (`backoffice.trips.get.response.200.trip`; object, required) — The whole trip record, as travelers-trip stores it: the list fields plus its chat, visibility, flexible dates, budget and special requests.
  - `associatedUserIds` (`backoffice.trips.get.response.200.trip.associatedUserIds`; array of string, required) — The user id of every person on the trip, in any relationship.
  - `companyName` (`backoffice.trips.get.response.200.trip.companyName`; string, required) — The agency the trip belongs to.
  - `createdBy` (`backoffice.trips.get.response.200.trip.createdBy`; string, required) — The user id of who created the trip.
  - `destinations` (`backoffice.trips.get.response.200.trip.destinations`; array of object, required) — Where the trip goes, in order, each place with its first and last day (YYYY-MM-DD).
    - `endDateTime` (`backoffice.trips.get.response.200.trip.destinations.endDateTime`; string, required)
      - pattern: `^\d{4}-\d{2}-\d{2}$`
    - `startDateTime` (`backoffice.trips.get.response.200.trip.destinations.startDateTime`; string, required)
      - pattern: `^\d{4}-\d{2}-\d{2}$`
    - `address` (`backoffice.trips.get.response.200.trip.destinations.address`; any of, optional)
      - any of the following: `string`, `null`
    - `amenities` (`backoffice.trips.get.response.200.trip.destinations.amenities`; array of string, optional)
    - `city` (`backoffice.trips.get.response.200.trip.destinations.city`; any of, optional)
      - any of the following: `string`, `null`
    - `country` (`backoffice.trips.get.response.200.trip.destinations.country`; string, optional)
    - `countryCode` (`backoffice.trips.get.response.200.trip.destinations.countryCode`; string, optional)
    - `description` (`backoffice.trips.get.response.200.trip.destinations.description`; string, optional)
    - `distanceFromSearch` (`backoffice.trips.get.response.200.trip.destinations.distanceFromSearch`; object, optional)
      - `unit` (`backoffice.trips.get.response.200.trip.destinations.distanceFromSearch.unit`; string, required)
        - one of `"km"`, `"mi"`
      - `value` (`backoffice.trips.get.response.200.trip.destinations.distanceFromSearch.value`; number, required)
    - `features` (`backoffice.trips.get.response.200.trip.destinations.features`; array of string, optional)
    - `fullAddress` (`backoffice.trips.get.response.200.trip.destinations.fullAddress`; string, optional)
    - `gate` (`backoffice.trips.get.response.200.trip.destinations.gate`; any of, optional)
      - any of the following: `string`, `null`
    - `iataCode` (`backoffice.trips.get.response.200.trip.destinations.iataCode`; any of, optional)
      - any of the following: `string`, `null`
    - `internovaId` (`backoffice.trips.get.response.200.trip.destinations.internovaId`; string, optional)
    - `latitude` (`backoffice.trips.get.response.200.trip.destinations.latitude`; number, optional)
    - `longitude` (`backoffice.trips.get.response.200.trip.destinations.longitude`; number, optional)
    - `name` (`backoffice.trips.get.response.200.trip.destinations.name`; string, optional)
    - `photos` (`backoffice.trips.get.response.200.trip.destinations.photos`; array of object, optional)
      - `name` (`backoffice.trips.get.response.200.trip.destinations.photos.name`; string, required)
      - `key` (`backoffice.trips.get.response.200.trip.destinations.photos.key`; string, optional)
      - `url` (`backoffice.trips.get.response.200.trip.destinations.photos.url`; string, optional)
    - `placeId` (`backoffice.trips.get.response.200.trip.destinations.placeId`; string, optional)
    - `region` (`backoffice.trips.get.response.200.trip.destinations.region`; string, optional)
    - `source` (`backoffice.trips.get.response.200.trip.destinations.source`; string, optional)
    - `state` (`backoffice.trips.get.response.200.trip.destinations.state`; any of, optional)
      - any of the following: `string`, `null`
    - `terminal` (`backoffice.trips.get.response.200.trip.destinations.terminal`; any of, optional)
      - any of the following: `string`, `null`
    - `timeZone` (`backoffice.trips.get.response.200.trip.destinations.timeZone`; string, optional)
    - `zipCode` (`backoffice.trips.get.response.200.trip.destinations.zipCode`; any of, optional)
      - any of the following: `string`, `null`
    - `headerImageUrl` (`backoffice.trips.get.response.200.trip.destinations.headerImageUrl`; string, optional)
  - `hasFlexibleDates` (`backoffice.trips.get.response.200.trip.hasFlexibleDates`; boolean, required)
  - `isAllPricesHidden` (`backoffice.trips.get.response.200.trip.isAllPricesHidden`; boolean, required)
    - default: `false`
  - `isItineraryVisible` (`backoffice.trips.get.response.200.trip.isItineraryVisible`; boolean, required)
    - default: `true`
  - `isSummaryHidden` (`backoffice.trips.get.response.200.trip.isSummaryHidden`; boolean, required)
    - default: `false`
  - `lastModifiedBy` (`backoffice.trips.get.response.200.trip.lastModifiedBy`; string, required)
  - `primaryTravelerUserId` (`backoffice.trips.get.response.200.trip.primaryTravelerUserId`; string, required) — The user id of the trip's lead traveler.
  - `tripEndDate` (`backoffice.trips.get.response.200.trip.tripEndDate`; string, required) — The trip's last day.
  - `tripStartDate` (`backoffice.trips.get.response.200.trip.tripStartDate`; string, required) — The trip's first day.
  - `tripTitle` (`backoffice.trips.get.response.200.trip.tripTitle`; string, required) — The trip's name.
  - `travelersTripId` (`backoffice.trips.get.response.200.trip.travelersTripId`; string, required) — The trip's id.
  - `createdAt` (`backoffice.trips.get.response.200.trip.createdAt`; string, required) — When the trip was created, ISO 8601.
  - `updatedAt` (`backoffice.trips.get.response.200.trip.updatedAt`; string, required) — When the trip last changed, ISO 8601.
  - `type` (`backoffice.trips.get.response.200.trip.type`; string, required)
  - `assignedAdvisorUserId` (`backoffice.trips.get.response.200.trip.assignedAdvisorUserId`; any of, optional) — The user id of the advisor responsible for the trip; null or absent while none is assigned.
    - any of the following: `string`, `null`
  - `associatedChatId` (`backoffice.trips.get.response.200.trip.associatedChatId`; any of, optional)
    - any of the following: `string`, `null`
  - `associatedTripItineraryId` (`backoffice.trips.get.response.200.trip.associatedTripItineraryId`; any of, optional) — The trip's itinerary, once its advisor started one; null or absent before.
    - any of the following: `string`, `null`
  - `availableDate` (`backoffice.trips.get.response.200.trip.availableDate`; any of, optional)
    - any of the following:
      - `string`
      - `object`
        - `from` (`backoffice.trips.get.response.200.trip.availableDate.2.from`; string, required)
        - `to` (`backoffice.trips.get.response.200.trip.availableDate.2.to`; string, required)
  - `budgetCurrency` (`backoffice.trips.get.response.200.trip.budgetCurrency`; any of, optional)
    - any of the following: `string`, `null`
  - `conciergeMessageSentAt` (`backoffice.trips.get.response.200.trip.conciergeMessageSentAt`; any of, optional)
    - any of the following: `string`, `null`
  - `createdReason` (`backoffice.trips.get.response.200.trip.createdReason`; string, optional) — How the trip came to be: created by the traveler, by an advisor, by a matching advisor or by a booking.
    - one of `"CREATED_BY_TRAVELER"`, `"CREATED_BY_ADVISOR"`, `"CREATED_BY_MATCHING_ADVISOR"`, `"CREATED_BY_BOOKING"`
  - `deleted` (`backoffice.trips.get.response.200.trip.deleted`; boolean, optional) — True once the trip was deleted. Deleted trips are listed too.
  - `deletedAt` (`backoffice.trips.get.response.200.trip.deletedAt`; any of, optional)
    - any of the following: `string`, `null`
  - `deletedBy` (`backoffice.trips.get.response.200.trip.deletedBy`; string, optional)
  - `hasActivity` (`backoffice.trips.get.response.200.trip.hasActivity`; boolean, optional) — True once the traveler approved a segment or an order was placed on the trip.
  - `lastMessageTimestamp` (`backoffice.trips.get.response.200.trip.lastMessageTimestamp`; any of, optional)
    - any of the following: `string`, `null`
  - `specialRequests` (`backoffice.trips.get.response.200.trip.specialRequests`; any of, optional)
    - any of the following: `string`, `null`
  - `suggestionsEnabled` (`backoffice.trips.get.response.200.trip.suggestionsEnabled`; boolean, optional)
  - `travelers` (`backoffice.trips.get.response.200.trip.travelers`; object, optional) — How many adults and children travel.
    - `adults` (`backoffice.trips.get.response.200.trip.travelers.adults`; number, optional)
    - `children` (`backoffice.trips.get.response.200.trip.travelers.children`; number, optional)
  - `amount` (`backoffice.trips.get.response.200.trip.amount`; number, optional)
  - `budget` (`backoffice.trips.get.response.200.trip.budget`; any of, optional) — The kind of budget the traveler asked for: goodValue or luxury.
    - any of the following: `string`, `string`
  - `purpose` (`backoffice.trips.get.response.200.trip.purpose`; any of, optional)
    - any of the following: `string`, `string`, `string`, `string`
  - `who` (`backoffice.trips.get.response.200.trip.who`; any of, optional)
    - any of the following: `string`, `string`, `string`, `string`

### 400

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`backoffice.trips.get.response.400.errorCode`; string, required)
- `errorMessage` (`backoffice.trips.get.response.400.errorMessage`; string, required)

### 401

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`backoffice.trips.get.response.401.errorCode`; string, required)
- `errorMessage` (`backoffice.trips.get.response.401.errorMessage`; string, required)

### 403

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`backoffice.trips.get.response.403.errorCode`; string, required)
- `errorMessage` (`backoffice.trips.get.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/backoffice/backoffice.trips.get/index.md
