SerenAI

Pay Per Call Agentic Commerce

CreateWebhookRequest

Request to create a webhook

Properties

PropertyTypeRequiredDescription
events Array<string> Yes
name string Yes
project_id string,null No
url string Yes
View JSON Schema
{
  "type": "object",
  "description": "Request to create a webhook",
  "required": [
    "name",
    "url",
    "events"
  ],
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "name": {
      "type": "string"
    },
    "project_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "url": {
      "type": "string"
    }
  }
}