Webhooks
Get webhook
Get a single webhook by ID.
get/api/v2/webhooks/{id}
Path parameters
idstring string required
The ID of the webhook
The ID of the webhook
Response
Webhook response
Example response
{
"_id": "57be1db38b75bf0772d11384",
"name": "Example hook",
"url": "http://www.example.com",
"secret": "frobozz",
"statements": [
{
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"actions": [
"*"
],
"effect": "allow"
}
],
"on": true,
"tags": [
"examples"
],
"_access": {
"denied": [
{
"reason": {
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"actions": [
"*"
],
"effect": "allow"
}
}
],
"allowed": [
{
"reason": {
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"actions": [
"*"
],
"effect": "allow"
}
}
]
}
}