v1

latestOpenAPI 3.0.32026-07-24198357534.7 KB
Integration

Create a new Webhook

Creates a WebhookConfiguration resource.

post/webhooks

Request body

namestring
activeboolean
urlstring uri
eventsWebhookEvent[]
{"stackTrail":"components:schemas:WebhookConfiguration.WebhookInput-webhook.input.create:properties:parameters","oasType":"schema","type":"unknown"}

Example request

{
  "url": "https://example.com/hook",
  "events": [
    "document.create",
    "document.update"
  ],
  "headers": {
    "Authorization": "Header value",
    "Content-Type": "Header value"
  }
}

Response

WebhookConfiguration resource created

idstring uuid
namestring
activeboolean
urlstring uri
eventsWebhookEvent[]
parametersstring[]
dateCreatedstring date-time
dateModifiedstring date-time

Example response

{
  "id": "c7ad508b-882d-4874-a00c-4b0eecb66e3d",
  "url": "https://example.com/hook",
  "events": [
    "document.create",
    "document.update"
  ],
  "headers": {
    "Authorization": "Header value",
    "Content-Type": "Header value"
  }
}