For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Create a new webhook.
curl --request POST \
--url https://app.launchdarkly.com/api/v2/webhooks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "apidocs test webhook",
"on": true,
"sign": false,
"statements": [
{
"actions": [
"*"
],
"effect": "allow",
"resources": [
"proj/test"
]
}
],
"tags": [
"example-tag"
],
"url": "https://example.com"
}
'{
"_links": {},
"_id": "57be1db38b75bf0772d11384",
"url": "http://www.example.com",
"on": true,
"tags": [
"examples"
],
"name": "Example hook",
"secret": "frobozz",
"statements": [
{
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
]
}
],
"_access": {
"denied": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
],
"allowed": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The URL of the remote webhook
"http://www.example.com"
If sign is false, the webhook does not include a signature header, and the secret can be omitted.
true
Whether or not this webhook is enabled.
true
A human-readable name for your webhook
"Example hook"
If sign is true, and the secret attribute is omitted, LaunchDarkly automatically generates a secret for you.
"frobozz"
Represents a Custom role policy, defining a resource kinds filter the webhook should respond to.
Show child attributes
List of tags for this webhook
[]
Webhook response
The location and content type of related resources
Show child attributes
The ID of this webhook
"57be1db38b75bf0772d11384"
The URL to which LaunchDarkly sends an HTTP POST payload for this webhook
"http://www.example.com"
Whether or not this webhook is enabled
true
List of tags for this webhook
["examples"]
A human-readable name for this webhook
"Example hook"
The secret for this webhook
"frobozz"
Represents a Custom role policy, defining a resource kinds filter the webhook responds to.
Show child attributes
Details on the allowed and denied actions for this webhook
Show child attributes
curl --request POST \
--url https://app.launchdarkly.com/api/v2/webhooks \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "apidocs test webhook",
"on": true,
"sign": false,
"statements": [
{
"actions": [
"*"
],
"effect": "allow",
"resources": [
"proj/test"
]
}
],
"tags": [
"example-tag"
],
"url": "https://example.com"
}
'{
"_links": {},
"_id": "57be1db38b75bf0772d11384",
"url": "http://www.example.com",
"on": true,
"tags": [
"examples"
],
"name": "Example hook",
"secret": "frobozz",
"statements": [
{
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
]
}
],
"_access": {
"denied": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
],
"allowed": [
{
"action": "<string>",
"reason": {
"effect": "allow",
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"notResources": [
"<string>"
],
"actions": [
"*"
],
"notActions": [
"<string>"
],
"role_name": "<string>"
}
}
]
}
}