v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
OAuth2 Clients

Create a LaunchDarkly OAuth 2.0 client

Create (register) a LaunchDarkly OAuth2 client. OAuth2 clients allow you to build custom integrations using LaunchDarkly as your identity provider.

post/api/v2/oauth/clients

Request body

namestring

The name of your new LaunchDarkly OAuth 2.0 client.

redirectUristring

The redirect URI for your new OAuth 2.0 application. This should be an absolute URL conforming with the standard HTTPS protocol.

descriptionstring

Description of your OAuth 2.0 client.

Response

OAuth 2.0 client response

_linksobject required

The location and content type of related resources

namestring required

Client name

descriptionstring

Client description

_accountIdstring required

The account ID the client is registered under

_clientIdstring required

The client's unique ID

_clientSecretstring

The client secret. This will only be shown upon creation.

redirectUristring required

The client's redirect URI

_creationDateinteger required

Example response

{
  "_links": {
    "parent": {
      "href": "/api/v2/oauth/clients",
      "type": "application/json"
    },
    "self": {
      "href": "/api/v2/oauth/clients/50666563-9144-4125-b822-33f308227e45",
      "type": "application/json"
    }
  }
}