> ## Documentation Index
> Fetch the complete documentation index at: https://docs.govly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Opportunity

> Retrieve a specific opportunity by ID

# Get Opportunity

## Path Parameters

**id** `string` *required*

The ID of the opportunity to retrieve. This can be found in the opportunity URL.
For example, given the URL `https://www.govly.com/app/opportunities/8180377`, the ID would be `8180377`.

## Response

**id** `string`

The unique identifier for the opportunity

**displayName** `string`

The display name of the opportunity

**description** `string`

The full description of the opportunity

**contractVehicle** `object`

**properties**

**contractName** `string`

Name of the contract vehicle

**id** `string`

ID of the contract vehicle

**slug** `string`

URL-friendly identifier for the contract vehicle

**customer** `object`

Details about the customer organization

**locations** `array`

Place of performance and related locations for the opportunity. Fields with no
value are returned as `null`.

**location**

**city** `string`

**region** `string`

**street** `string`

**place** `string`

**postalCode** `string`

**country** `string`

**countryCode** `string`

**type** `string`

**geoPoint** `array` *deprecated*

Deprecated — always `null`. Coordinates are available via the Enterprise API.

**locationId** `string` *deprecated*

Deprecated — always `null`. Migrate to the Enterprise API endpoints.

**aggregateAttachments** `array`

Array of attachment objects associated with the opportunity

## Example Request

```bash theme={null}
curl --location 'https://app.govly.com/api/v3/opportunities/8180377' \
--header 'X-API-KEY: your-api-key'
```

```bash Request theme={null}
curl --location 'https://app.govly.com/api/v3/opportunities/8180377' \
--header 'X-API-KEY: your-api-key'
```

```json Response theme={null}
{
  "id": "8180377",
  "displayName": "SEWP V #94039043",
  "contractVehicle": {
    "contractName": "SEWP V",
    "id": "1",
    "slug": "sewp-v"
  },
  "description": "The Office of Information & Technology (OIT)...",
  "customer": {
    "name": "Department of Veterans Affairs",
    "id": "3375"
  },
  "locations": [
    {
      "city": "Eatontown",
      "country": "United States",
      "countryCode": "US",
      "postalCode": "07724"
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.