Ghost · Schema
Webhook
A webhook subscription that sends HTTP POST notifications for events.
PublishingNewslettersMembershipsContentOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier |
| event | string | The event that triggers the webhook |
| target_url | string | URL that receives the webhook POST request |
| name | string | Webhook name |
| secret | string | Secret used for signature validation |
| api_version | string | API version for the webhook payload |
| integration_id | string | Integration this webhook belongs to |
| status | string | Webhook status |
| last_triggered_at | string | Timestamp of the last trigger |
| last_triggered_status | string | HTTP status from the last trigger |
| last_triggered_error | string | Error from the last trigger attempt |
| created_at | string | Creation timestamp |
| updated_at | string | Last update timestamp |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Webhook",
"title": "Webhook",
"type": "object",
"description": "A webhook subscription that sends HTTP POST notifications for events.",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Unique identifier"
},
"event": {
"type": "string",
"description": "The event that triggers the webhook"
},
"target_url": {
"type": "string",
"format": "uri",
"description": "URL that receives the webhook POST request"
},
"name": {
"type": "string",
"description": "Webhook name",
"nullable": true
},
"secret": {
"type": "string",
"description": "Secret used for signature validation",
"nullable": true
},
"api_version": {
"type": "string",
"description": "API version for the webhook payload"
},
"integration_id": {
"type": "string",
"format": "uuid",
"description": "Integration this webhook belongs to"
},
"status": {
"type": "string",
"description": "Webhook status"
},
"last_triggered_at": {
"type": "string",
"format": "date-time",
"description": "Timestamp of the last trigger",
"nullable": true
},
"last_triggered_status": {
"type": "string",
"description": "HTTP status from the last trigger",
"nullable": true
},
"last_triggered_error": {
"type": "string",
"description": "Error from the last trigger attempt",
"nullable": true
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "Creation timestamp"
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "Last update timestamp"
}
}
}