add_webhook
Add a new webhook to a Storyblok space by defining name, endpoint, actions, and optional settings like secret or activation status using the Management API.
Instructions
Adds a new webhook to a specified Storyblok space using the Management API.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
actions | Yes | ||
activated | No | ||
description | No | ||
endpoint | Yes | ||
name | Yes | ||
secret | No |
Input Schema (JSON Schema)
{
"properties": {
"actions": {
"items": {
"type": "string"
},
"title": "Actions",
"type": "array"
},
"activated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": true,
"title": "Activated"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"endpoint": {
"title": "Endpoint",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"secret": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Secret"
}
},
"required": [
"name",
"endpoint",
"actions"
],
"title": "add_webhookArguments",
"type": "object"
}