This topic explains how to authenticate to the LaunchDarkly API and access LaunchDarkly’s API documentation.
Every LaunchDarkly feature begins as an API endpoint. You can use the LaunchDarkly API to perform any action that’s available in the LaunchDarkly product itself.
For example, with the LaunchDarkly REST API you can perform the following:
The LaunchDarkly REST API is not designed to evaluate feature flags from within your application. For that, you should use the LaunchDarkly SDKs. To learn more about the differences between these offerings, read Comparing LaunchDarkly’s REST API and SDK.
To access the REST API, you must have the following prerequisites:
To access the LaunchDarkly API, you have several options:
To authenticate to the LaunchDarkly API, add an Authorization header with your access token to your requests. While we recommend accessing the API using a request header, you can also perform API calls from the browser when you’re logged in to LaunchDarkly. To learn more, read the Authentication section of the API documentation.
To get started using our API, read the tutorial Using the LaunchDarkly REST API. To learn more, read the API documentation.