---
title: "List every agency's Sabre connection"
---

> 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.

# List every agency's Sabre connection

Path: Nicer API › Booking

`GET /booking/sabre/connections`

URL: `https://api.nicer.travel/booking/sabre/connections`

For Nicer staff only: every agency's Sabre connection in one list, on or off, with the office it works in, where and with which credential Nicer signs in, every agency that shares that credential, the products bound to it, live or mock, its agents and the last sign-in test. It reads across agencies, so it takes no `x-nicer-company`; to change one agency's connection, call the settings routes with that agency in `x-nicer-company`. No credential is ever returned, only the secret's name. Errors: 403 ERROR_DO_NOT_HAVE_PERMISSION for anyone who is not Nicer staff.

## Authentication

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

## 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.booking.sabre.connections.list();
```

### Nicer CLI

```bash
nicer booking sabre connections list
```

### cURL

```bash
curl --request GET \
  --url https://api.nicer.travel/booking/sabre/connections \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/booking/sabre/connections';
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/booking/sabre/connections"

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

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

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "connections": [
    {
      "agents": {
        "enabled": 4,
        "unclaimed": 1
      },
      "companyName": "sunrise-travel",
      "configVersion": "3f2a9c1e-5b7d-4e8a-9c0f-1d2e3f4a5b6c",
      "defaultAgentDkNumber": "7TZ123",
      "enabled": true,
      "executionMode": "LIVE",
      "homePcc": "N1CR",
      "lastTest": {
        "errorCode": null,
        "success": true,
        "testedAt": "2026-11-10T15:04:05.000Z"
      },
      "products": [
        "CAR_RENTAL",
        "FLIGHT",
        "HOTEL"
      ],
      "providerConfigId": "default",
      "secretName": "prod-commerce-provider-sabre-nicer-epr",
      "sessionPcc": "A1B2",
      "sharedWith": [
        "harbor-voyages"
      ],
      "ticketsFromQueue": false,
      "updatedAt": "2026-11-09T18:30:00.000Z"
    }
  ]
}
```

- `connections` (`booking.sabre.connections.list.response.200.connections`; array of object, required)
  - `agents` (`booking.sabre.connections.list.response.200.connections.agents`; object, required)
    - `enabled` (`booking.sabre.connections.list.response.200.connections.agents.enabled`; integer, required)
      - maximum: `9007199254740991` · minimum: `0`
    - `unclaimed` (`booking.sabre.connections.list.response.200.connections.agents.unclaimed`; integer, required)
      - maximum: `9007199254740991` · minimum: `0`
  - `companyName` (`booking.sabre.connections.list.response.200.connections.companyName`; string, required)
    - minLength: `1`
  - `configVersion` (`booking.sabre.connections.list.response.200.connections.configVersion`; string, required)
    - minLength: `1`
  - `defaultAgentDkNumber` (`booking.sabre.connections.list.response.200.connections.defaultAgentDkNumber`; any of, required)
    - any of the following: `string`, `null`
  - `enabled` (`booking.sabre.connections.list.response.200.connections.enabled`; boolean, required)
  - `executionMode` (`booking.sabre.connections.list.response.200.connections.executionMode`; any of, required)
    - any of the following: `SabreExecutionMode`, `null`
  - `homePcc` (`booking.sabre.connections.list.response.200.connections.homePcc`; any of, required)
    - any of the following: `string`, `null`
  - `lastTest` (`booking.sabre.connections.list.response.200.connections.lastTest`; any of, required)
    - any of the following:
      - `SabreConnectionTest`
        - `errorCode` (`SabreConnectionTest.errorCode`; any of, required)
          - any of the following: `string`, `null`
        - `success` (`SabreConnectionTest.success`; boolean, required)
        - `testedAt` (`SabreConnectionTest.testedAt`; string, required)
          - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`
      - `null`
  - `products` (`booking.sabre.connections.list.response.200.connections.products`; array of string, required)
    - one of `"CAR_RENTAL"`, `"FLIGHT"`, `"HOTEL"`, `"INSURANCE"`
  - `providerConfigId` (`booking.sabre.connections.list.response.200.connections.providerConfigId`; string, required)
    - minLength: `1`
  - `secretName` (`booking.sabre.connections.list.response.200.connections.secretName`; any of, required)
    - any of the following: `string`, `null`
  - `sessionPcc` (`booking.sabre.connections.list.response.200.connections.sessionPcc`; any of, required)
    - any of the following: `string`, `null`
  - `sharedWith` (`booking.sabre.connections.list.response.200.connections.sharedWith`; array of string, required)
    - minLength: `1`
  - `ticketsFromQueue` (`booking.sabre.connections.list.response.200.connections.ticketsFromQueue`; boolean, required)
  - `updatedAt` (`booking.sabre.connections.list.response.200.connections.updatedAt`; string, required)
    - format: `date-time` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$`

### 400

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

#### Example

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

- `errorCode` (`booking.sabre.connections.list.response.400.errorCode`; string, required)
- `errorMessage` (`booking.sabre.connections.list.response.400.errorMessage`; string, required)

### 401

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

#### Example

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

- `errorCode` (`booking.sabre.connections.list.response.401.errorCode`; string, required)
- `errorMessage` (`booking.sabre.connections.list.response.401.errorMessage`; string, required)

### 403

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

#### Example

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

- `errorCode` (`booking.sabre.connections.list.response.403.errorCode`; string, required)
- `errorMessage` (`booking.sabre.connections.list.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/Booking/booking.sabre.connections.list/index.md
