provider Webhooks POST /api/v2/webhooks
@utdk/launchdarkly /api/v2/webhooks
Creates a webhook
Create a new webhook.

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postwebhook
POST/api/v2/webhooks
Create a new webhook.

Input

A human-readable name for your webhook

required

The URL of the remote webhook

If sign is true, and the secret attribute is omitted, LaunchDarkly automatically generates a secret for you.

required

If sign is false, the webhook does not include a signature header, and the secret can be omitted.

required

Whether or not this webhook is enabled.

List of tags for this webhook

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.postwebhook()