id | string, UUID, π system | β
Yes | Unique identifier (read-only) | β | Unique identifier of the webhook | βwebhook-uuid-123β |
workspace | Workspace (UUID) | β
Yes | Foreign key reference | β | Reference to the workspace | βworkspace-uuid-456β |
url | string | β
Yes | valid URL format | β | Webhook endpoint URL | βhttps://api.example.com/webhooks/wellβ |
secret | string | βͺ No | nullable | β | Webhook secret for signature verification | βyour-webhook-secretβ |
events | string[] | β
Yes | array of event types | document., company., person., workspace., collection.* | Array of subscribed event types | [βdocument.createdβ, βdocument.updatedβ] |
is_active | boolean | βͺ No | default: true | true , false | Webhook active status | true |
retry_count | number | βͺ No | default: 3, max: 10 | 0-10 | Number of delivery retries | 3 |
timeout_ms | number | βͺ No | default: 5000, max: 30000 | 1000-30000 | Request timeout in milliseconds | 5000 |
last_delivery_at | string (ISO 8601) π system | βͺ No | nullable timestamp | β | Last successful delivery timestamp | β2024-01-15T10:30:00Zβ |
last_failure_at | string (ISO 8601) π system | βͺ No | nullable timestamp | β | Last failure timestamp | β2024-01-15T11:00:00Zβ |
failure_count | number π system | βͺ No | default: 0 | 0+ | Consecutive failure count | 0 |
created_at | string (ISO 8601) π system | β | auto timestamp | β | Creation timestamp | β2023-01-01T12:00:00Zβ |
updated_at | string (ISO 8601) π system | β | auto timestamp | β | Last updated timestamp | β2024-01-01T12:00:00Zβ |
deleted_at | string | null π system | βͺ No | nullable ISO 8601 | β | Deletion timestamp (soft delete) | β2024-01-01T12:00:00Zβ |