# GoHarbor Webhook API

**Canonical:** https://apis.io/apis/goharbor/goharbor-webhook-api/  
**Provider:** GoHarbor — https://apis.io/providers/goharbor/  
**Base URL:** https://{host}/api/v2.0  
**Documentation:** https://goharbor.io/docs/2.15.0/working-with-projects/using-api-explorer/

GoHarbor Webhook API is one of 38 APIs that [GoHarbor](https://apis.io/providers/goharbor/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Webhook. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

The webhook API from GoHarbor — 7 operation(s) for webhook.

## Operations (10)

| Method | Path | Summary |
|---|---|---|
| GET | `/projects/{project_name_or_id}/webhook/policies` | List project webhook policies |
| POST | `/projects/{project_name_or_id}/webhook/policies` | Create project webhook policy |
| GET | `/projects/{project_name_or_id}/webhook/policies/{webhook_policy_id}` | Get project webhook policy |
| PUT | `/projects/{project_name_or_id}/webhook/policies/{webhook_policy_id}` | Update webhook policy of a project |
| DELETE | `/projects/{project_name_or_id}/webhook/policies/{webhook_policy_id}` | Delete webhook policy of a project |
| GET | `/projects/{project_name_or_id}/webhook/policies/{webhook_policy_id}/executions` | List executions for a specific webhook policy |
| GET | `/projects/{project_name_or_id}/webhook/policies/{webhook_policy_id}/executions/{execution_id}/tasks` | List tasks for a specific webhook execution |
| GET | `/projects/{project_name_or_id}/webhook/policies/{webhook_policy_id}/executions/{execution_id}/tasks/{task_id}/log` | Get logs for a specific webhook task |
| GET | `/projects/{project_name_or_id}/webhook/lasttrigger` | Get project webhook policy last trigger info |
| GET | `/projects/{project_name_or_id}/webhook/events` | Get supported event types and notify types |

## Machine-readable artifacts (10)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/goharbor/refs/heads/main/openapi/goharbor-webhook-api-openapi.yml
- **Documentation** — https://goharbor.io/docs/2.15.0/working-with-projects/using-api-explorer/
- **SourceCode** — https://github.com/goharbor/harbor
- **Documentation** — https://goharbor.io/docs/2.15.0/
- **APIReference** — https://goharbor.io/docs/2.15.0/working-with-projects/using-api-explorer/
- **DataModel** — https://raw.githubusercontent.com/api-evangelist/goharbor/refs/heads/main/data-model/goharbor-data-model.yml
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/goharbor/refs/heads/main/errors/goharbor-problem-types.yml
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/goharbor/refs/heads/main/asyncapi/goharbor-webhooks.yml
- **Documentation** — https://goharbor.io/docs/2.15.0/administration/vulnerability-scanning/
- **SourceCode** — https://github.com/goharbor/pluggable-scanner-spec

## Other GoHarbor APIs (12)

- [GoHarbor health API](https://apis.io/apis/goharbor/goharbor-health-api/)
- [GoHarbor replication API](https://apis.io/apis/goharbor/goharbor-replication-api/)
- [GoHarbor scan API](https://apis.io/apis/goharbor/goharbor-scan-api/)
- [GoHarbor search API](https://apis.io/apis/goharbor/goharbor-search-api/)
- [GoHarbor Artifact API](https://apis.io/apis/goharbor/goharbor-artifact-api/)
- [GoHarbor Configure API](https://apis.io/apis/goharbor/goharbor-configure-api/)
- [GoHarbor Gc API](https://apis.io/apis/goharbor/goharbor-gc-api/)
- [GoHarbor Icon API](https://apis.io/apis/goharbor/goharbor-icon-api/)
- [GoHarbor Immutable API](https://apis.io/apis/goharbor/goharbor-immutable-api/)
- [GoHarbor Label API](https://apis.io/apis/goharbor/goharbor-label-api/)
- [GoHarbor Ldap API](https://apis.io/apis/goharbor/goharbor-ldap-api/)
- [GoHarbor Member API](https://apis.io/apis/goharbor/goharbor-member-api/)

## Tags

Webhook

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/goharbor/goharbor-webhook-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/goharbor/.
