# Get travel service intent details by key

> For the complete documentation index, see [llms.txt](https://developer.fluxir.com/llms.txt).

**GET** `/api/app/travel-services/service-intent`

Retrieve the detailed definition of a travel service intent using its unique key.

## Authorization

- oidc (openIdConnect)

## Header parameters

- `X-Tenant` (string)
  Tenant ID

## Query parameters

- `key` (string)

## Responses

### 200

OK

- `serviceType` ("Visa" | "Insurance" | "AirportLounge" | "FastTrack" | "Esim" | "FlightItineraryLetter" | "HotelItineraryLetter")
- `provider` (string)
- `destinationCountryCode` (string)
- `serviceIntentKey` (string)
- `title` (string)
- `description` (string)
- `info` (string)
- `tags` (string[])
- `documentSchemeVersionId` (integer<int64>)
- `pricingRecords` (object[])
  - `serviceType` ("Visa" | "Insurance" | "AirportLounge" | "FastTrack" | "Esim" | "FlightItineraryLetter" | "HotelItineraryLetter")
  - `referenceId` (integer<int64>)
  - `feeScope` ("Global" | "PerService")
  - `paymentModel` ("OneTime" | "Subscription" | "Thirdparty")
  - `title` (string)
  - `fee` (integer<int32>)
  - `commission` (integer<int32>)
  - `code` (string)
- `serviceTypeId` (integer<int64>)
- `fee` (integer<int32>)
- `isSelectable` (boolean)
- `callToActions` (object[])
  - `type` ("ServiceApplication" | "Internal" | "External" | "API")
  - `title` (string)
  - `uri` (string)
  - `payload` (object)
  - `payloads` (object)
- `extraProperties` (object)
- `isDisabled` (boolean)
- `disableReasons` (string[])
- `images` (object[])
  - `order` (integer<int32>)
  - `url` (string)
- `amenities` (object[])
  - `name` (string)
  - `description` (string)
  - `terms` (string)
  - `iconUrl` (string)

Example:

```json
{
  "serviceType": "Visa",
  "provider": "string",
  "destinationCountryCode": "string",
  "serviceIntentKey": "string",
  "title": "string",
  "description": "string",
  "info": "string",
  "tags": [
    "string"
  ],
  "documentSchemeVersionId": 0,
  "pricingRecords": [
    {
      "serviceType": "Visa",
      "referenceId": 0,
      "feeScope": "Global",
      "paymentModel": "OneTime",
      "title": "string",
      "fee": 0,
      "commission": 0,
      "code": "string"
    }
  ],
  "serviceTypeId": 0,
  "fee": 0,
  "isSelectable": true,
  "callToActions": [
    {
      "type": "ServiceApplication",
      "title": "string",
      "uri": "string",
      "payload": {},
      "payloads": {}
    }
  ],
  "extraProperties": {},
  "isDisabled": true,
  "disableReasons": [
    "string"
  ],
  "images": [
    {
      "order": 0,
      "url": "string"
    }
  ],
  "amenities": [
    {
      "name": "string",
      "description": "string",
      "terms": "string",
      "iconUrl": "string"
    }
  ]
}
```

### 400

Bad Request

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 401

Unauthorized

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 403

Forbidden

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 404

Not Found

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 500

Internal Server Error

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```

### 501

Not Implemented

- `error` (object)
  - `code` (string)
  - `message` (string)
  - `details` (string)
  - `data` (object)
  - `validationErrors` (object[])
    - `message` (string)
    - `members` (string[])

Example:

```json
{
  "error": {
    "code": "string",
    "message": "string",
    "details": "string",
    "data": {},
    "validationErrors": [
      {
        "message": "string",
        "members": [
          "string"
        ]
      }
    ]
  }
}
```