GitHub · JSON Structure

Github App Api Hook Delivery Structure

Delivery made by a webhook.

Type: object Properties: 14 Required: 13
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

hook-delivery is a JSON Structure definition published by GitHub, describing 14 properties, of which 13 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id guid delivered_at redelivery duration status status_code event action installation_id repository_id url request response

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-app-api-hook-delivery-structure.json",
  "name": "hook-delivery",
  "description": "Delivery made by a webhook.",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier of the delivery.",
      "type": "int32",
      "example": 42
    },
    "guid": {
      "description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).",
      "type": "string",
      "example": "58474f00-b361-11eb-836d-0e4f3503ccbe"
    },
    "delivered_at": {
      "description": "Time when the delivery was delivered.",
      "type": "datetime",
      "example": "2021-05-12T20:33:44Z"
    },
    "redelivery": {
      "description": "Whether the delivery is a redelivery.",
      "type": "boolean",
      "example": false
    },
    "duration": {
      "description": "Time spent delivering.",
      "type": "double",
      "example": 0.03
    },
    "status": {
      "description": "Description of the status of the attempted delivery",
      "type": "string",
      "example": "failed to connect"
    },
    "status_code": {
      "description": "Status code received when delivery was made.",
      "type": "int32",
      "example": 502
    },
    "event": {
      "description": "The event that triggered the delivery.",
      "type": "string",
      "example": "issues"
    },
    "action": {
      "description": "The type of activity for the event that triggered the delivery.",
      "type": "string",
      "example": "opened",
      "nullable": true
    },
    "installation_id": {
      "description": "The id of the GitHub App installation associated with this event.",
      "type": "int32",
      "example": 123,
      "nullable": true
    },
    "repository_id": {
      "description": "The id of the repository associated with this event.",
      "type": "int32",
      "example": 123,
      "nullable": true
    },
    "url": {
      "description": "The URL target of the delivery.",
      "type": "string",
      "example": "https://www.example.com"
    },
    "request": {
      "type": "object",
      "properties": {
        "headers": {
          "description": "The request headers sent with the webhook delivery.",
          "type": "object",
          "nullable": true,
          "additionalProperties": true
        },
        "payload": {
          "description": "The webhook payload.",
          "type": "object",
          "nullable": true,
          "additionalProperties": true
        }
      },
      "required": [
        "headers",
        "payload"
      ]
    },
    "response": {
      "type": "object",
      "properties": {
        "headers": {
          "description": "The response headers received when the delivery was made.",
          "type": "object",
          "nullable": true,
          "additionalProperties": true
        },
        "payload": {
          "description": "The response payload received.",
          "type": "string",
          "nullable": true,
          "additionalProperties": true
        }
      },
      "required": [
        "headers",
        "payload"
      ]
    }
  },
  "required": [
    "id",
    "guid",
    "delivered_at",
    "redelivery",
    "duration",
    "status",
    "status_code",
    "event",
    "action",
    "installation_id",
    "repository_id",
    "request",
    "response"
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/github-app-api-hook-delivery-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.