{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/github/main/json-schema/github-hook-delivery-schema.json", "title": "Webhook delivery", "description": "Delivery made by a webhook.", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/github-apps-api-openapi.yml#/components/schemas/hook-delivery", "type": "object", "properties": { "id": { "description": "Unique identifier of the delivery.", "type": "integer" }, "guid": { "description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).", "type": "string" }, "delivered_at": { "description": "Time when the delivery was delivered.", "type": "string", "format": "date-time" }, "redelivery": { "description": "Whether the delivery is a redelivery.", "type": "boolean" }, "duration": { "description": "Time spent delivering.", "type": "number" }, "status": { "description": "Description of the status of the attempted delivery", "type": "string" }, "status_code": { "description": "Status code received when delivery was made.", "type": "integer" }, "event": { "description": "The event that triggered the delivery.", "type": "string" }, "action": { "description": "The type of activity for the event that triggered the delivery.", "type": [ "string", "null" ] }, "installation_id": { "description": "The id of the GitHub App installation associated with this event.", "type": [ "integer", "null" ] }, "repository_id": { "description": "The id of the repository associated with this event.", "type": [ "integer", "null" ] }, "url": { "description": "The URL target of the delivery.", "type": "string" }, "request": { "type": "object", "properties": { "headers": { "description": "The request headers sent with the webhook delivery.", "type": [ "object", "null" ], "additionalProperties": true }, "payload": { "description": "The webhook payload.", "type": [ "object", "null" ], "additionalProperties": true } }, "required": [ "headers", "payload" ] }, "response": { "type": "object", "properties": { "headers": { "description": "The response headers received when the delivery was made.", "type": [ "object", "null" ], "additionalProperties": true }, "payload": { "description": "The response payload received.", "type": [ "string", "null" ], "additionalProperties": true } }, "required": [ "headers", "payload" ] } }, "required": [ "id", "guid", "delivered_at", "redelivery", "duration", "status", "status_code", "event", "action", "installation_id", "repository_id", "request", "response" ] }