---
title: "Handle GitHub webhook events"
method: POST
path: "/api/github/webhook"
tags: ["Webhooks"]
---

# Handle GitHub webhook events

`POST /api/github/webhook`

## Response `200`

Event processed

- union
  - object
    - `message` 'pong', required
  - object
    - `created` boolean, required
    - `taskId` string

## Other responses

- `401` — Invalid signature
- `503` — GitHub integration not configured

---

[API](https://skmtc.net/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.net/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/versions/e2028c1ef6f5/schema)
