---
title: "List provider configs or advisor profiles"
---

> 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 provider configs or advisor profiles

Path: Nicer API › Booking

`GET /booking/settings`

URL: `https://api.nicer.travel/booking/settings`

Reads the booking provider settings of the company named in `x-nicer-company`, for an admin of that company or for Nicer staff naming any company. `resource=PROVIDERS` returns the company's connections to that provider, on or off, each with the `products` its default channel binds to it and has on, and for Sabre the `lastTest` of its sign-in from the settings; `advisors` comes back empty. `resource=SABRE_ADVISORS` with a `providerConfigId` returns that connection's Sabre agents, each with its DK in full and masked and `isDefault` marking the agency's default agent, which books for every advisor without one of their own; `providers` comes back empty. `secretName` and `sharedWith` (the other agencies whose connection signs in with the same credential) are present only when Nicer staff ask. Credentials are never returned: `secretConfigured` says whether one is stored and `publicConfiguration.maskedUsername` which one.

## Authentication

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

## Query parameters

- `resource` (`booking.settings.list.query.resource`; string, required)
  - one of `"PROVIDERS"`, `"SABRE_ADVISORS"`
- `providerKey` (`booking.settings.list.query.providerKey`; string, optional)
- `providerConfigId` (`booking.settings.list.query.providerConfigId`; string, optional)
  - minLength: `1`

## Header parameters

- `x-nicer-company` (`booking.settings.list.header.x-nicer-company`; string, required) — Company context. Authentication and tenant membership are validated by the API.

## Code samples

### JavaScript SDK

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

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

await nicer.booking.settings.list({
  "resource": "PROVIDERS"
});
```

### Nicer CLI

```bash
nicer booking settings list --resource 'PROVIDERS' --company "$NICER_COMPANY"
```

### cURL

```bash
curl --request GET \
  --url 'https://api.nicer.travel/booking/settings?resource=PROVIDERS' \
  --header 'Authorization: Bearer <token>' \
  --header 'x-nicer-company: string'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/booking/settings?resource=PROVIDERS';
const options = {
  method: 'GET',
  headers: {'x-nicer-company': 'string', 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/settings?resource=PROVIDERS"

headers = {
    "x-nicer-company": "string",
    "Authorization": "Bearer <token>"
}

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

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "advisors": [
    {
      "advisorUserId": "string",
      "claim": {
        "claimedAt": "2019-08-24T14:15:22Z",
        "claimedByUserId": "string",
        "origin": "SELF_ACTIVATION"
      },
      "corporationName": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "dkNumber": "string",
      "dkNumberMasked": "string",
      "email": "string",
      "enabled": true,
      "firstName": "string",
      "isDefault": true,
      "lastName": "string",
      "pccOverride": "string",
      "phone": "string",
      "profileId": "string",
      "profileVersion": "string",
      "providerConfigId": "string",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "providers": [
    {
      "configVersion": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "enabled": true,
      "homePcc": "string",
      "lastTest": {
        "errorCode": null,
        "success": true,
        "testedAt": "2026-11-10T15:04:05.000Z"
      },
      "products": [
        "CAR_RENTAL"
      ],
      "providerConfigId": "string",
      "providerKey": "string",
      "publicConfiguration": {
        "agencyAddress": {
          "name": "string",
          "street": "string",
          "city": "string",
          "stateProvince": "string",
          "postalCode": "string",
          "countryCode": "string"
        },
        "hotelPointOfSaleAddress": {
          "name": "string",
          "street": "string",
          "city": "string",
          "stateProvince": "string",
          "postalCode": "string",
          "countryCode": "string"
        },
        "agencyProfile": {
          "domainId": "string",
          "profileName": "string",
          "profileTypeCode": "CRP"
        },
        "hotelIataOverride": {
          "iataNumber": "string",
          "rateCodes": [
            "string"
          ]
        },
        "sabreExecutionMode": "LIVE",
        "ticketingPrinter": {
          "hardcopyLniata": "string",
          "ticketStockCode": "string",
          "ticketLniata": "string"
        },
        "ticketingQueue": {
          "number": 999,
          "pcc": "string",
          "prefatoryInstructionCode": 11
        },
        "excludedAirlineCodes": [
          "string"
        ],
        "alias": "string",
        "domain": "string",
        "maskedUsername": "string",
        "property1": null,
        "property2": null
      },
      "secretConfigured": true,
      "secretName": "string",
      "sessionPcc": "string",
      "sharedWith": [
        "string"
      ],
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
```

- `advisors` (`booking.settings.list.response.200.advisors`; array of object, required)
  - `advisorUserId` (`booking.settings.list.response.200.advisors.advisorUserId`; any of, required)
    - any of the following: `string`, `null`
  - `corporationName` (`booking.settings.list.response.200.advisors.corporationName`; any of, required)
    - any of the following: `string`, `null`
  - `createdAt` (`booking.settings.list.response.200.advisors.createdAt`; 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))$`
  - `dkNumber` (`booking.settings.list.response.200.advisors.dkNumber`; any of, required)
    - any of the following: `string`, `null`
  - `dkNumberMasked` (`booking.settings.list.response.200.advisors.dkNumberMasked`; any of, required)
    - any of the following: `string`, `null`
  - `email` (`booking.settings.list.response.200.advisors.email`; any of, required)
    - any of the following: `string`, `null`
  - `enabled` (`booking.settings.list.response.200.advisors.enabled`; boolean, required)
  - `firstName` (`booking.settings.list.response.200.advisors.firstName`; any of, required)
    - any of the following: `string`, `null`
  - `isDefault` (`booking.settings.list.response.200.advisors.isDefault`; boolean, required)
  - `lastName` (`booking.settings.list.response.200.advisors.lastName`; any of, required)
    - any of the following: `string`, `null`
  - `pccOverride` (`booking.settings.list.response.200.advisors.pccOverride`; any of, required)
    - any of the following: `string`, `null`
  - `phone` (`booking.settings.list.response.200.advisors.phone`; any of, required)
    - any of the following: `string`, `null`
  - `profileId` (`booking.settings.list.response.200.advisors.profileId`; string, required)
    - minLength: `1`
  - `profileVersion` (`booking.settings.list.response.200.advisors.profileVersion`; string, required)
    - minLength: `1`
  - `providerConfigId` (`booking.settings.list.response.200.advisors.providerConfigId`; string, required)
    - minLength: `1`
  - `updatedAt` (`booking.settings.list.response.200.advisors.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))$`
  - `claim` (`booking.settings.list.response.200.advisors.claim`; any of, optional)
    - any of the following:
      - `object`
        - `claimedAt` (`booking.settings.list.response.200.advisors.claim.1.claimedAt`; 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))$`
        - `claimedByUserId` (`booking.settings.list.response.200.advisors.claim.1.claimedByUserId`; string, required)
          - minLength: `1`
        - `origin` (`booking.settings.list.response.200.advisors.claim.1.origin`; string, required)
          - one of `"SELF_ACTIVATION"`, `"SETTINGS"`
      - `null`
- `providers` (`booking.settings.list.response.200.providers`; array of object, required)
  - `configVersion` (`booking.settings.list.response.200.providers.configVersion`; string, required)
    - minLength: `1`
  - `createdAt` (`booking.settings.list.response.200.providers.createdAt`; 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))$`
  - `enabled` (`booking.settings.list.response.200.providers.enabled`; boolean, required)
  - `homePcc` (`booking.settings.list.response.200.providers.homePcc`; any of, required)
    - any of the following: `string`, `null`
  - `products` (`booking.settings.list.response.200.providers.products`; array of string, required)
    - one of `"CAR_RENTAL"`, `"FLIGHT"`, `"HOTEL"`, `"INSURANCE"`
  - `providerConfigId` (`booking.settings.list.response.200.providers.providerConfigId`; string, required)
    - minLength: `1`
  - `providerKey` (`booking.settings.list.response.200.providers.providerKey`; string, required)
  - `publicConfiguration` (`booking.settings.list.response.200.providers.publicConfiguration`; object, required)
    - `agencyAddress` (`booking.settings.list.response.200.providers.publicConfiguration.agencyAddress`; object, optional)
      - `name` (`booking.settings.list.response.200.providers.publicConfiguration.agencyAddress.name`; string, required)
        - minLength: `1`
      - `street` (`booking.settings.list.response.200.providers.publicConfiguration.agencyAddress.street`; string, required)
        - minLength: `1`
      - `city` (`booking.settings.list.response.200.providers.publicConfiguration.agencyAddress.city`; string, required)
        - minLength: `1`
      - `postalCode` (`booking.settings.list.response.200.providers.publicConfiguration.agencyAddress.postalCode`; string, required)
        - minLength: `1`
      - `countryCode` (`booking.settings.list.response.200.providers.publicConfiguration.agencyAddress.countryCode`; string, required)
        - pattern: `^[A-Z]{2}$`
      - `stateProvince` (`booking.settings.list.response.200.providers.publicConfiguration.agencyAddress.stateProvince`; string, optional)
        - minLength: `1`
    - `hotelPointOfSaleAddress` (`booking.settings.list.response.200.providers.publicConfiguration.hotelPointOfSaleAddress`; object, optional)
      - `name` (`booking.settings.list.response.200.providers.publicConfiguration.hotelPointOfSaleAddress.name`; string, required)
        - minLength: `1`
      - `street` (`booking.settings.list.response.200.providers.publicConfiguration.hotelPointOfSaleAddress.street`; string, required)
        - minLength: `1`
      - `city` (`booking.settings.list.response.200.providers.publicConfiguration.hotelPointOfSaleAddress.city`; string, required)
        - minLength: `1`
      - `postalCode` (`booking.settings.list.response.200.providers.publicConfiguration.hotelPointOfSaleAddress.postalCode`; string, required)
        - minLength: `1`
      - `countryCode` (`booking.settings.list.response.200.providers.publicConfiguration.hotelPointOfSaleAddress.countryCode`; string, required)
        - pattern: `^[A-Z]{2}$`
      - `stateProvince` (`booking.settings.list.response.200.providers.publicConfiguration.hotelPointOfSaleAddress.stateProvince`; string, optional)
        - minLength: `1`
    - `agencyProfile` (`booking.settings.list.response.200.providers.publicConfiguration.agencyProfile`; object, optional)
      - `domainId` (`booking.settings.list.response.200.providers.publicConfiguration.agencyProfile.domainId`; string, required)
        - pattern: `^[A-Z0-9]{3,4}$`
      - `profileName` (`booking.settings.list.response.200.providers.publicConfiguration.agencyProfile.profileName`; string, required)
        - minLength: `1`
      - `profileTypeCode` (`booking.settings.list.response.200.providers.publicConfiguration.agencyProfile.profileTypeCode`; string, required)
        - one of `"CRP"`, `"AGY"`, `"AGT"`, `"OPX"`
    - `hotelIataOverride` (`booking.settings.list.response.200.providers.publicConfiguration.hotelIataOverride`; any of, optional)
      - any of the following:
        - `HotelIataOverride`
          - `iataNumber` (`HotelIataOverride.iataNumber`; string, required)
            - pattern: `^\d{8}$`
          - `rateCodes` (`HotelIataOverride.rateCodes`; array of string, required)
            - pattern: `^[A-Z0-9]{2,10}$`
        - `null`
    - `sabreExecutionMode` (`booking.settings.list.response.200.providers.publicConfiguration.sabreExecutionMode`; string, optional)
      - one of `"LIVE"`, `"MOCK"`
    - `ticketingPrinter` (`booking.settings.list.response.200.providers.publicConfiguration.ticketingPrinter`; object, optional)
      - `hardcopyLniata` (`booking.settings.list.response.200.providers.publicConfiguration.ticketingPrinter.hardcopyLniata`; string, required)
        - pattern: `^[A-Z0-9]{6}$`
      - `ticketStockCode` (`booking.settings.list.response.200.providers.publicConfiguration.ticketingPrinter.ticketStockCode`; string, required)
        - pattern: `^[A-Z]{2}$`
      - `ticketLniata` (`booking.settings.list.response.200.providers.publicConfiguration.ticketingPrinter.ticketLniata`; string, optional)
        - pattern: `^[A-Z0-9]{6}$`
    - `ticketingQueue` (`booking.settings.list.response.200.providers.publicConfiguration.ticketingQueue`; object, optional)
      - `number` (`booking.settings.list.response.200.providers.publicConfiguration.ticketingQueue.number`; integer, required)
        - maximum: `999` · minimum: `0`
      - `prefatoryInstructionCode` (`booking.settings.list.response.200.providers.publicConfiguration.ticketingQueue.prefatoryInstructionCode`; integer, required)
        - maximum: `254` · minimum: `0` · default: `11`
      - `pcc` (`booking.settings.list.response.200.providers.publicConfiguration.ticketingQueue.pcc`; string, optional)
        - pattern: `^[A-Z0-9]{3,4}$`
    - `excludedAirlineCodes` (`booking.settings.list.response.200.providers.publicConfiguration.excludedAirlineCodes`; array of string, optional)
      - pattern: `^[A-Z0-9]{2}$`
    - `alias` (`booking.settings.list.response.200.providers.publicConfiguration.alias`; string, optional)
    - `domain` (`booking.settings.list.response.200.providers.publicConfiguration.domain`; string, optional)
    - `maskedUsername` (`booking.settings.list.response.200.providers.publicConfiguration.maskedUsername`; string, optional)
  - `secretConfigured` (`booking.settings.list.response.200.providers.secretConfigured`; boolean, required)
  - `sessionPcc` (`booking.settings.list.response.200.providers.sessionPcc`; any of, required)
    - any of the following: `string`, `null`
  - `updatedAt` (`booking.settings.list.response.200.providers.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))$`
  - `lastTest` (`booking.settings.list.response.200.providers.lastTest`; any of, optional)
    - 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`
  - `secretName` (`booking.settings.list.response.200.providers.secretName`; any of, optional)
    - any of the following: `string`, `null`
  - `sharedWith` (`booking.settings.list.response.200.providers.sharedWith`; array of string, optional)
    - minLength: `1`

### 400

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

#### Example

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

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

### 401

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

#### Example

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

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

### 403

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

#### Example

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

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


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