Harness Webhook API

The webhook API from Harness — 10 operation(s) for webhook.

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /code/api/v1/repos/{repo_identifier}/webhooks List webhooks on a code repository · List repo webhooks #
Ask an LLM
“Which webhooks are configured on one of my Harness Code repositories?”
“Can I search a repo's webhooks by name and sort them?”
Tell an agent
List the webhooks on repository {repo}.
Find webhooks on repo {repo} matching {query}.
POST /code/api/v1/repos/{repo_identifier}/webhooks Add a webhook to a code repository · Create repo webhook #
Ask an LLM
“How do I send push and pull request events from a single repository to my endpoint?”
“Can I sign a repository webhook with a secret and add extra headers?”
Tell an agent
Add a webhook to repository {repo} that posts to {url}.
Create repo webhook {name} on {repo} calling {url} for triggers {triggers}.
DELETE /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier} Delete a repository webhook · Delete repo webhook #
Ask an LLM
“How do I stop a repository from calling a webhook endpoint permanently?”
“Can I remove a single webhook from one repo?”
Tell an agent destructive · confirm first
Delete webhook {webhook} from repository {repo}.
Remove the repo-level webhook {webhook} on {repo}.
GET /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier} Get a repository webhook · Get repo webhook #
Ask an LLM
“What URL and triggers is a particular repository webhook set up with?”
“Can I inspect one repo webhook's settings by its identifier?”
Tell an agent
Show webhook {webhook} on repository {repo}.
Get the settings of repo webhook {webhook} in {repo}.
PATCH /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier} Update a repository webhook · Update repo webhook #
Ask an LLM
“Can I change the target URL or triggers of an existing repository webhook?”
“Is it possible to disable a repo webhook without deleting it?”
Tell an agent
Point webhook {webhook} on repository {repo} at {url}.
Set enabled to {enabled} on repo webhook {webhook} in {repo}.
GET /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions List deliveries of a repository webhook · List repo webhook executions #
Ask an LLM
“What deliveries has a repository webhook made recently?”
“Can I see whether my repo webhook calls are succeeding or failing?”
Tell an agent
List executions of webhook {webhook} on repository {repo}.
Show the last {limit} deliveries of repo webhook {webhook} in {repo}.
GET /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions/{webhook_execution_id} Get one delivery of a repository webhook · Get repo webhook execution #
Ask an LLM
“What request and response did one repository webhook delivery record?”
“Can I inspect a single failed repo webhook execution?”
Tell an agent
Show execution {execution} of webhook {webhook} on repository {repo}.
Get the details of repo webhook delivery {execution} for {webhook} in {repo}.
POST /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger Redeliver a repository webhook event · Retrigger repo webhook execution #
Ask an LLM
“Can I resend a repository webhook delivery that failed?”
“Is there a way to replay a past repo webhook event to my endpoint?”
Tell an agent
Retrigger execution {execution} of webhook {webhook} on repository {repo}.
Redeliver repo webhook event {execution} for {webhook} in {repo}.
GET /code/api/v1/webhooks List account, org or project webhooks · List acc, org or proj webhooks #
Ask an LLM
“Which webhooks are defined at the account, organization or project level rather than on a repo?”
“Can I list project-wide code webhooks sorted by name?”
Tell an agent
List the webhooks for project {project}.
Show org-level webhooks in {org} matching {query}.
POST /code/api/v1/webhooks Create an account, org or project webhook · Create acc, org or proj webhook #
Ask an LLM
“How do I get events from every repository in a project with one webhook?”
“Can I create an organization-wide webhook instead of one per repo?”
Tell an agent
Create a project webhook in {project} that posts to {url}.
Add org-wide webhook {name} in {org} calling {url} with secret {secret}.
DELETE /code/api/v1/webhooks/{webhook_identifier} Delete an account, org or project webhook · Delete acc, org or proj webhook #
Ask an LLM
“How do I delete a webhook that applies to a whole project?”
“Can I remove an account-level code webhook?”
Tell an agent destructive · confirm first
Delete project webhook {webhook}.
Remove org-level webhook {webhook} from {org}.
GET /code/api/v1/webhooks/{webhook_identifier} Get an account, org or project webhook · Get acc, org or proj webhook #
Ask an LLM
“What is configured on a project-level webhook?”
“Can I read one organization webhook by its identifier?”
Tell an agent
Show project-level webhook {webhook}.
Get org webhook {webhook} in {org}.
PATCH /code/api/v1/webhooks/{webhook_identifier} Update an account, org or project webhook · Update acc, org or proj webhook #
Ask an LLM
“Can I change the URL or events of a project-wide webhook?”
“Is it possible to allow insecure TLS on an org webhook?”
Tell an agent
Point project webhook {webhook} at {url}.
Change the triggers of org webhook {webhook} to {triggers}.
GET /code/api/v1/webhooks/{webhook_identifier}/executions List deliveries of a project-level webhook · List acc, org or proj webhook executions #
Ask an LLM
“What deliveries has my project-wide webhook sent lately?”
“Can I page through an org webhook's execution history?”
Tell an agent
List executions of project webhook {webhook}.
Show page {page} of deliveries for org webhook {webhook}.
GET /code/api/v1/webhooks/{webhook_identifier}/executions/{webhook_execution_id} Get one delivery of a project-level webhook · Get acc, org or proj webhook execution #
Ask an LLM
“What happened on a single delivery from my account-level webhook?”
“Can I see the response my endpoint returned to a project webhook call?”
Tell an agent
Show execution {execution} of project webhook {webhook}.
Get delivery {execution} details for org webhook {webhook}.
POST /code/api/v1/webhooks/{webhook_identifier}/executions/{webhook_execution_id}/retrigger Redeliver a project-level webhook event · Retrigger acc, org or proj webhook execution #
Ask an LLM
“Can I replay a failed delivery from an organization webhook?”
“Is there a way to resend an account-level webhook event after fixing my endpoint?”
Tell an agent
Retrigger execution {execution} of project webhook {webhook}.
Resend org webhook delivery {execution} for {webhook}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/harness:harness-webhook-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

harness-webhook-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harness Webhook API
  version: '1.0'
  description: The Harness Software Delivery Platform uses OpenAPI Specification v3.0.
  contact:
    name: API Support
    email: contact@harness.io
    url: https://harness.io/
  x-logo:
    url: https://mma.prnewswire.com/media/779232/Harnes_logo_horizontal.jpg?p=facebook
    altText: Harness
  termsOfService: https://harness.io/terms-of-use/
servers:
- url: https://app.harness.io
  description: Harness host URL
- url: https://{vanity}
  description: Vanity URL
  variables:
    vanity:
      default: app.harness.io
security:
- x-api-key: []
tags:


# --- truncated at 32 KB (46 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/openapi/harness-webhook-api-openapi.yml