---
title: "Request a specific KongAir destination by id (e.g., SFO)"
url: "https://dev.kong-air.com/apis/kong-air-destinations-0/versions/b34ea1e3-fc07-4576-a162-9bb254ddd60a/operations/getDestinationById"
---

> Full API specification: https://dev.kong-air.com/apis/kong-air-destinations-0/versions/b34ea1e3-fc07-4576-a162-9bb254ddd60a.md

# Request a specific KongAir destination by id (e.g., SFO)

`GET` `/destinations/{id}`

Operation ID: `getDestinationById`

Returns a specific destination for a given Airport ID / Code.

## Path parameters

- `id` (string, required) - Destination id is unique identifier for the destination airport.

## Responses

- `200` - Successful response with the found destination.
- `404` - Destination not found.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Destinations Service
  version: 0.2.0
servers:
  - description: KongAir API Server
    url: https://api.kong-air.com
paths:
  /destinations/{id}:
    get:
      description: Returns a specific destination for a given Airport ID / Code.
      operationId: getDestinationById
      parameters:
        - description: Destination id is unique identifier for the destination airport.
          example: SIN
          in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              examples:
                destinationExample:
                  value:
                    city: Singapore
                    id: SIN
                    image: https://testimages.com/SIN
              schema:
                $ref: "#/components/schemas/Destination"
          description: Successful response with the found destination.
        "404":
          content:
            application/json:
              examples:
                notFoundExample:
                  value:
                    message: Destination not found.
              schema:
                properties:
                  message:
                    example: Destination not found
                    type: string
                type: object
          description: Destination not found.
      summary: Request a specific KongAir destination by id (e.g., SFO)
      tags:
        - Destinations
components:
  schemas:
    Destination:
      description: Represents a destination city & airport.
      example:
        destination: San Francisco
        id: SFO
        image: https://testimages.com/SFO
      properties:
        city:
          description: City name for the destination.
          example: San Francisco
          type: string
        id:
          description: Unique identifier for the airport.
          example: SFO
          type: string
        image:
          description: Image link for the destination.
          example: https://testimages.com/SFO
          type: string
      required:
        - id
        - city
        - image
      type: object
```
