Creates a webhook

Create a new webhook.

Headers

AuthorizationstringRequired

Request

This endpoint expects an object.
urlstringRequired
The URL of the remote webhook
signbooleanRequired
If sign is false, the webhook does not include a signature header, and the secret can be omitted.
onbooleanRequired
Whether or not this webhook is enabled.
namestringOptional

A human-readable name for your webhook

secretstringOptional
If sign is true, and the secret attribute is omitted, LaunchDarkly automatically generates a secret for you.
statementslist of objectsOptional
Represents a Custom role policy, defining a resource kinds filter the webhook should respond to.
tagslist of stringsOptional
List of tags for this webhook

Response

Webhook response
_idstring
The ID of this webhook
urlstring
The URL to which LaunchDarkly sends an HTTP POST payload for this webhook
onboolean
Whether or not this webhook is enabled
tagslist of strings
List of tags for this webhook
namestring or null

A human-readable name for this webhook

secretstring or null
The secret for this webhook
statementslist of objects or null
Represents a Custom role policy, defining a resource kinds filter the webhook responds to.
_accessobject or null
Details on the allowed and denied actions for this webhook

Errors