# Webhooks

| Method | Path | What it does | Permission | Sudo | Approval |
|---|---|---|---|---|---|
| GET | `/api/apps/{domain}/webhook` | Webhook State | `apps.read` |  |  |
| POST | `/api/apps/{domain}/webhook-secret` | Create Webhook Secret | `apps.manage` | yes |  |
| DELETE | `/api/apps/{domain}/webhook-secret` | Delete Webhook Secret | `apps.manage` | yes |  |
| GET | `/api/apps/{domain}/webhook/deliveries` | Webhook Deliveries | `apps.read` |  |  |
| GET | `/api/apps/{domain}/webhook/received` | Webhook Received | `apps.read` |  |  |
| GET | `/api/apps/{domain}/webhook/registry` | Registry Hook State | `apps.read` |  |  |
| POST | `/api/apps/{domain}/webhook/registry/reveal` | Reveal Registry Hook | `secrets.reveal` | yes |  |
| POST | `/api/apps/{domain}/webhook/reveal` | Reveal Webhook Secret | `secrets.reveal` | yes |  |
| POST | `/hooks/deploy/{domain}` | Deliver | `public` |  |  |
| POST | `/hooks/github` | Deliver | `public` |  |  |
| POST | `/hooks/registry/{domain}` | Deliver Registry | `public` |  |  |
| POST | `/hooks/registry/{domain}/{token}` | Deliver Registry | `public` |  |  |
