# Create a webhook subscription Create a webhook subscription for entity events Subscribe to receive webhook notifications when entities are created, updated, or deleted. The webhook URL must use HTTPS and will receive POST requests with event data. Business Applications: - Real-time integrations - Event-driven workflows - System synchronization Real Example: bash curl --location 'https://{{host}}/api/v1/event-subscriptions' \ --header 'Authorization: bearer {{token}}' \ --header 'Content-Type: application/json' \ --data '{ "entityType": example value, "operation": example value, "deliveryUrl": "example value" }' Endpoint: POST /api/v1/event-subscriptions Version: 1.0.0 Security: BearerAuth ## Request fields (application/json): - `entityType` (object, required) Entitytype - `operation` (object, required) Operation - `deliveryUrl` (string, required) Deliveryurl - `filterExpression` (string,null) Filterexpression - `description` (string,null) Description ## Response 201 fields (application/json): - `data` (object) - `data.subscription` (object) Subscription - `data.webhookSecret` (string) Webhooksecret - `data.webhookSecretInstructions` (string) Webhooksecretinstructions - `error` (object,null) - `meta` (object) - `meta.success` (boolean) - `meta.message` (string) - `meta.timestamp` (string) - `meta.version` (string) ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 500 fields