GET
/
api
/
v3
/
opportunities
/
{id}
curl --location 'https://app.govly.com/api/v3/opportunities/8180377' \
--header 'X-API-KEY: your-api-key'
{
  "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"
    }
  ]
}

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
customer
object
Details about the customer organization
locations
array
Array of location objects associated with the opportunity
aggregateAttachments
array
Array of attachment objects associated with the opportunity

Example Request

curl --location 'https://app.govly.com/api/v3/opportunities/8180377' \
--header 'X-API-KEY: your-api-key'
curl --location 'https://app.govly.com/api/v3/opportunities/8180377' \
--header 'X-API-KEY: your-api-key'
{
  "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"
    }
  ]
}