Other

Root resource

Issue a GET request to the root resource to find all of the resource categories supported by the API

Request
Security:
ApiKey (readwrite)
Responses
200

Root response

get/api/v2
Request samples
curl -i -X GET \
  https://app.launchdarkly.com/api/v2 \
  -H 'Authorization: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "property1": {
    },
  • "property2": {
    }
}

Gets the OpenAPI spec in json

The OpenAPI spec endpoint serves the latest version of the OpenAPI specification for LaunchDarkly's API in json format.

Request
Security:
ApiKey (readwrite)
Responses
200

OpenAPI Spec

get/api/v2/openapi.json
Request samples
curl -i -X GET \
  https://app.launchdarkly.com/api/v2/openapi.json \
  -H 'Authorization: YOUR_API_KEY_HERE'

Gets the public IP list

Get a list of IP ranges the LaunchDarkly service uses. You can use this list to allow LaunchDarkly through your firewall.

This endpoint returns a JSON object with two attributes: addresses and outboundAddresses. The addresses element contains the IP addresses LaunchDarkly's service uses. The outboundAddresses element contains the IP addresses outgoing webhook notifications use.

We post upcoming changes to this list in advance on our status page.

Request
Security:
ApiKey (readwrite)
Responses
200

Public IP response

get/api/v2/public-ip-list
Request samples
curl -i -X GET \
  https://app.launchdarkly.com/api/v2/public-ip-list \
  -H 'Authorization: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "addresses": [
    ],
  • "outboundAddresses": [
    ]
}

Get version information

Get the latest API version, the list of valid API versions in ascending order, and the version being used for this request. These are all in the external, date-based format.

Request
Security:
ApiKey (readwrite)
Responses
200

Versions information response

401

Invalid access token

403

Forbidden

429

Rate limited

get/api/v2/versions
Request samples
curl -i -X GET \
  https://app.launchdarkly.com/api/v2/versions \
  -H 'Authorization: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "validVersions": [
    ],
  • "latestVersion": 0,
  • "currentVersion": 0,
  • "beta": true
}