GitHub release published webhook payload example

GitHub · event: release (published) · content type: application/json

This is a representative sample — fake IDs, real structure. To see a payload with your data, point the provider at a capture URL (button below).

See it live, not frozen

One click creates a free capture bin with this exact payload already in it — pretty-printed, headers inspectable, replayable to your own endpoint:

Then paste the bin's URL into GitHub's webhook settings to capture a real delivery. No signup.

Headers

content-type: application/json
user-agent: GitHub-Hookshot/8b5a4e2
x-github-event: release
x-github-delivery: a4c2f1e0-85b3-11f1-9d7a-3e5f8c2b6a90
x-github-hook-id: 512403864
x-github-hook-installation-target-type: repository
x-hub-signature: sha1=cd5d4f0a168d5ea1a39615357f868af19fff2538
x-hub-signature-256: sha256=d1733ad21168386b284fecd6a338125ad2a80505e359867e06ca1366b723ede9

Body

{
  "action": "published",
  "release": {
    "url": "https://api.github.com/repos/octocat/hello-world/releases/236713545",
    "html_url": "https://github.com/octocat/hello-world/releases/tag/v2.4.0",
    "assets_url": "https://api.github.com/repos/octocat/hello-world/releases/236713545/assets",
    "upload_url": "https://uploads.github.com/repos/octocat/hello-world/releases/236713545/assets{?name,label}",
    "tarball_url": "https://api.github.com/repos/octocat/hello-world/tarball/v2.4.0",
    "zipball_url": "https://api.github.com/repos/octocat/hello-world/zipball/v2.4.0",
    "id": 236713545,
    "node_id": "RE_kwDOAWl9pM4OGxpJ",
    "tag_name": "v2.4.0",
    "target_commitish": "main",
    "name": "v2.4.0 — retry-safe webhook deliveries",
    "draft": false,
    "prerelease": false,
    "immutable": false,
    "created_at": "2026-08-30T08:55:12Z",
    "published_at": "2026-08-30T09:58:03Z",
    "author": {
      "login": "octocat",
      "id": 583231,
      "node_id": "MDQ6VXNlcjU4MzIzMQ==",
      "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
      "html_url": "https://github.com/octocat",
      "type": "User",
      "site_admin": false
    },
    "assets": [
      {
        "url": "https://api.github.com/repos/octocat/hello-world/releases/assets/198122437",
        "id": 198122437,
        "node_id": "RA_kwDOAWl9pM4LzucF",
        "name": "hello-world_2.4.0_linux_amd64.tar.gz",
        "label": "",
        "content_type": "application/gzip",
        "state": "uploaded",
        "size": 5824512,
        "download_count": 0,
        "created_at": "2026-08-30T09:57:40Z",
        "updated_at": "2026-08-30T09:57:44Z",
        "browser_download_url": "https://github.com/octocat/hello-world/releases/download/v2.4.0/hello-world_2.4.0_linux_amd64.tar.gz",
        "uploader": {
          "login": "octocat",
          "id": 583231,
          "type": "User"
        }
      }
    ],
    "tarball_name": null,
    "zipball_name": null,
    "body": "## What's Changed\r\n* fix: retry webhook deliveries on 5xx by @octocat in #482\r\n\r\n**Full Changelog**: https://github.com/octocat/hello-world/compare/v2.3.1...v2.4.0"
  },
  "repository": {
    "id": 23675664,
    "node_id": "MDEwOlJlcG9zaXRvcnkyMzY3NTY2NA==",
    "name": "hello-world",
    "full_name": "octocat/hello-world",
    "private": false,
    "owner": {
      "login": "octocat",
      "id": 583231,
      "type": "User"
    },
    "html_url": "https://github.com/octocat/hello-world",
    "description": "Example service with webhook-driven releases",
    "fork": false,
    "default_branch": "main"
  },
  "sender": {
    "login": "octocat",
    "id": 583231,
    "type": "User",
    "site_admin": false
  }
}

Things that bite people

Send it yourself

Reproduce this delivery against any endpoint (your handler, a bin, staging):

$ curl -X POST https://your-endpoint.example/hook \
  -H 'content-type: application/json' \
  -H 'user-agent: GitHub-Hookshot/8b5a4e2' \
  -H 'x-github-event: release' \
  -H 'x-github-delivery: a4c2f1e0-85b3-11f1-9d7a-3e5f8c2b6a90' \
  -H 'x-github-hook-id: 512403864' \
  -H 'x-github-hook-installation-target-type: repository' \
  -H 'x-hub-signature: sha1=cd5d4f0a168d5ea1a39615357f868af19fff2538' \
  -H 'x-hub-signature-256: sha256=d1733ad21168386b284fecd6a338125ad2a80505e359867e06ca1366b723ede9' \
 -d '{
  "action": "published",
  "release": {
    "url": "https://api.github.com/repos/octocat/hello-world/releases/236713545",
    "html_url": "https://github.com/octocat/hello-world/releases/tag/v2.4.0",
    "assets_url": "https://api.github.com/repos/octocat/hello-world/releases/236713545/assets",
    "upload_url": "https://uploads.github.com/repos/octocat/hello-world/releases/236713545/assets{?name,label}",
    "tarball_url": "https://api.github.com/repos/octocat/hello-world/tarball/v2.4.0",
    "zipball_url": "https://api.github.com/repos/octocat/hello-world/zipball/v2.4.0",
    "id": 236713545,
    "node_id": "RE_kwDOAWl9pM4OGxpJ",
    "tag_name": "v2.4.0",
    "target_commitish": "main",
    "name": "v2.4.0 — retry-safe webhook deliveries",
    "draft": false,
    "prerelease": false,
    "immutable": false,
    "created_at": "2026-08-30T08:55:12Z",
    "published_at": "2026-08-30T09:58:03Z",
    "author": {
      "login": "octocat",
      "id": 583231,
      "node_id": "MDQ6VXNlcjU4MzIzMQ==",
      "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
      "html_url": "https://github.com/octocat",
      "type": "User",
      "site_admin": false
    },
    "assets": [
      {
        "url": "https://api.github.com/repos/octocat/hello-world/releases/assets/198122437",
        "id": 198122437,
        "node_id": "RA_kwDOAWl9pM4LzucF",
        "name": "hello-world_2.4.0_linux_amd64.tar.gz",
        "label": "",
        "content_type": "application/gzip",
        "state": "uploaded",
        "size": 5824512,
        "download_count": 0,
        "created_at": "2026-08-30T09:57:40Z",
        "updated_at": "2026-08-30T09:57:44Z",
        "browser_download_url": "https://github.com/octocat/hello-world/releases/download/v2.4.0/hello-world_2.4.0_linux_amd64.tar.gz",
        "uploader": {
          "login": "octocat",
          "id": 583231,
          "type": "User"
        }
      }
    ],
    "tarball_name": null,
    "zipball_name": null,
    "body": "## What'\''s Changed\r\n* fix: retry webhook deliveries on 5xx by @octocat in #482\r\n\r\n**Full Changelog**: https://github.com/octocat/hello-world/compare/v2.3.1...v2.4.0"
  },
  "repository": {
    "id": 23675664,
    "node_id": "MDEwOlJlcG9zaXRvcnkyMzY3NTY2NA==",
    "name": "hello-world",
    "full_name": "octocat/hello-world",
    "private": false,
    "owner": {
      "login": "octocat",
      "id": 583231,
      "type": "User"
    },
    "html_url": "https://github.com/octocat/hello-world",
    "description": "Example service with webhook-driven releases",
    "fork": false,
    "default_branch": "main"
  },
  "sender": {
    "login": "octocat",
    "id": 583231,
    "type": "User",
    "site_admin": false
  }
}'

← All payload examples · Related guide · Signature debugger · Docs