Webhooks

Create webhook

Create webhook

post/api/v1/webhooks

Request

  • Base URL: https://storylayer.ai
  • URL: https://storylayer.ai/api/v1/webhooks
  • Auth: HTTP bearer

Request body

urlstring uri required
eventsstring[] required
descriptionstring
project_idstring uuid

Example request

{
  "url": "https://hooks.example.com/storylayer",
  "events": [
    "story.published",
    "story.failed"
  ],
  "description": "Notify CRM on publish"
}

Response

Success

idstring uuid
urlstring uri
eventsstring[]
activeboolean
signing_secretstring

Returned once on create only

Changes

No recorded changes to this operation across all 1 revision of this API.