# GetDestinations

### 🌍 GetDestinations API

The GetDestinations API provides a list of all available destination codes supported by the Smart Distribution platform. Each destination represents a city or region where hotel inventory is available.

This API is typically used to populate dropdowns, filters, or search suggestions in your booking interface.

***

#### 📌 Use Case

Before performing a property or product search, the client application needs to know the valid `destinationCode` values. This API returns that master list.

***

#### 🔗 Endpoint

```
GET [SD-Domain]/api/SmartDistribution/getDestinations
```

***

#### 🧾 Headers

| Header    | Type   | Required | Description                     |
| --------- | ------ | -------- | ------------------------------- |
| ApiKey    | string | Yes      | API key provided by RateGain    |
| ApiSecret | string | Yes      | API secret provided by RateGain |

***

#### 📤 Request Fields Description

**Not Applicable for this End point.**

***

#### 📥 Response

***

#### 📘 Response Fields Description

| Field    | Type   | Description                            |
| -------- | ------ | -------------------------------------- |
| destCode | string | Unique code used in hotel search APIs  |
| destName | string | Human-readable name of the destination |

***

<br>
