---
title: "Get trip"
method: GET
path: "/v2/trips/{tripId}"
tags: ["Trips"]
deprecated: true
---

# Get trip

`GET /v2/trips/{tripId}`

> **Deprecated.**

Retrieves trip info by ID.
{% admonition type="warning" name="Deprecation notice" %}
The **Get Trip** `/v2/trips/{tripId}` endpoint has been deprecated.
Use the new **Get trip details** `/v3/trips/{tripId}/detail` endpoint instead.
{% /admonition %}

## Response `200`

OK

- BasicTripInfo — Basic trip info
  - `tripId` string, required — Spotnana trip Id
  - `tripName` string, required — Name of the trip
  - `tripDescription` string — Trip description
  - `applicationId` string, uuid — Application id used for the trip.
  - `startDate` DateModel — Date in ISO 8601 standard.
    - `iso8601` string, required
  - `endDate` DateModel — Date in ISO 8601 standard.
    - `iso8601` string, required
  - `userId` UserId — User identifier
    - `id` string, uuid, required
  - `registrarUserId` UserId — User identifier
    - `id` string, uuid, required
  - `tripMetadata` TripMetadata — Metadata for the trip
    - `hasTripOverride` boolean — Indicates if the trip has any profile overrides.
    - `preferredCurrency` string — The currency to be used for the trip.
    - `tripContacts` TripContact[]
      - `label` string, required — Label for the contact
      - `name` string, required — Name of the contact
      - `email` string — Email of the contact
      - `phoneNumber` PhoneNumber — Properly formatted phone number.
        - `countryCode` integer — two digit country code
        - `countryCodeSource` 'UNSPECIFIED' | 'FROM_NUMBER_WITH_PLUS_SIGN' | 'FROM_NUMBER_WITH_IDD' | 'FROM_NUMBER_WITHOUT_PLUS_SIGN' | 'FROM_DEFAULT_COUNTRY'
        - `extension` string — phone number extension
        - `isoCountryCode` string — ISO alpha-2 code
        - `italianLeadingZero` boolean
        - `nationalNumber` integer
        - `numberOfLeadingZeros` integer
        - `preferredDomesticCarrierCode` string
        - `rawInput` string
        - `type` 'UNKNOWN_TYPE' | 'MOBILE' | 'LANDLINE'
      - `isPrimary` boolean — Whether the contact is primary or not
      - `restrictVisibility` boolean — Whether to restrict visibility of the contact to only agents and admins
    - `tripCommunicationPreferences` TripCommunicationPreferences — Communication preferences for the trip
      - `tripEmailPreferences` TripEmailPreferences — Email preferences for the trip
        - `bucketEmailPreferences` BucketEmailPreferences — Email communication preferences based on bucket types.
          - `bucketTypes` EmailBucketType[], required — List of email bucket types.
          - `isEnabled` boolean — Indicates whether emails are disabled.
          - `toEmails` string[] — List of email address to be included in emails.
          - `ccEmails` string[] — List of email address to be cc-ed in emails.
          - `bccEmails` string[] — List of email address to be bcc-ed in emails.
  - `tripDisabledInfo` TripDisabledInfo — Information regarding whether the trip is disabled and if so, the reason why.
    - `disabledReason` 'MAX_BOOKINGS_EXCEEDED' | 'TRIP_EXPIRED' — Reason why the trip is disabled if applicable.
    - `isDisabled` boolean — Indicates whether the trip is disabled or not.
  - `stealthType` 'STEALTH_TYPE_1' | 'STEALTH_TYPE_2' | 'STEALTH_TYPE_3' — Stealth type.
  - `stealthMode` StealthMode — Stealth mode configuration with type and label.
    - `stealthType` 'STEALTH_TYPE_1' | 'STEALTH_TYPE_2' | 'STEALTH_TYPE_3', required — Stealth type.
    - `label` string, required — Customer specific label for the stealth mode.
  - `tripLocations` TripLocation[] — Locations associated with the trip.
    - `metroAreaName` string — Name of the metropolitan area.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — The specified resource was not found.

---

[API](https://skmtc.net/spotnana/apis/trip-api.md) · [All operations](https://skmtc.net/spotnana/apis/trip-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotnana/trip-api/revisions/ccddd94cdc01/schema)
