> For the complete documentation index, see [llms.txt](https://docs.copia.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.copia.io/docs/git-based-source-control/additional-features/webhooks.md).

# Webhooks

Webhooks for Source Control

## Overview

Webhooks are automated messages sent from Copia when new activity happens in your Organization. These messages are posted via HTTP to a specific URL of an application that is waiting to receive the message. Webhooks are used by many systems to monitor events in another system, and in some cases even perform actions based on those events.

Copia offers webhooks for many common apps, and also provides a generic, Copia-specific \_\_ webhook for apps not listed.

{% hint style="info" %}
See the [Integrations](/docs/git-based-source-control/integrations.md) section to view an extensive list of available webhook options. If your specific app is not listed, it can likely be supported with the *Copia* selection.
{% endhint %}

## Webhooks for Organizations

Webhooks are available on both the Organization and Repository level.

To enable webhooks for your Organization, click on your Organization from the Dashboard.

![](https://3704730939-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lSQNVI3DZ15V7kjkMCA%2Fuploads%2FfcLYmdGcvdbHI8Q2O2ZQ%2FWebApp_DashboardOrganizationTab.png?alt=media\&token=e4aed8e8-a8d4-4e6d-9035-082cb8dc0d5a)

Next, click on the teal *Settings* button to navigate to your Organization settings page.

![](https://3704730939-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lSQNVI3DZ15V7kjkMCA%2Fuploads%2FavhWDLdN0vkdhUNj5iOo%2FWebApp_OrgSettingsIcon.png?alt=media\&token=d7619563-7c5e-49d3-900a-ac74e495abfb)

Select the *Webhooks* tab. Click on the *Add Webhook* button and choose an app to integrate.

![](https://3704730939-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lSQNVI3DZ15V7kjkMCA%2Fuploads%2FvCGUC9V09YATyGtTKfBb%2FWebApp_WebhookSettings.png?alt=media\&token=2e9d2e03-71f9-4616-af15-d2a29b499550)

Follow the steps required for that webhook. When complete, you should see your webhook displayed in the *Webhooks* section. You can manage your webhook using the teal *Edit* and red *Delete* buttons.

![](https://3704730939-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lSQNVI3DZ15V7kjkMCA%2Fuploads%2FftrvaoEv76Nf8b9x31q6%2FWebApp_WebhookSettings_Enabled.png?alt=media\&token=63b801f3-940e-4ddc-aebb-b8c1412f3f88)

## Webhooks for Repositories

You can also elect to enable webhooks for specific repositories in your Organization.

Navigate to the repository for which you want to enable webhooks, and click on the *Settings* tab. Choose the *Webhooks* section, click on the *Add Webhook* button, and select an app.

![](https://3704730939-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lSQNVI3DZ15V7kjkMCA%2Fuploads%2FLRa6UwcitoQ0Anf50aJd%2FWebApp_Repository_Settings_Webhooks.png?alt=media\&token=2c6d203d-52ca-4c09-b4bb-2203a9e6085e)

Enter in all the information for your webhook. After submitting, you'll see your webhook displayed in the *Webhooks* section. Like with webhooks on the Organization level, editing and deleting your webhook can be done using the teal *Edit* and red *Delete* buttons.

![](https://3704730939-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4lSQNVI3DZ15V7kjkMCA%2Fuploads%2FqkX1kCPzoH1mthFfJYZo%2FWebApp_Repository_Settings_Webhooks_Enabled.png?alt=media\&token=57fa52ce-bf6b-4c3b-a47e-416d92f33d19)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.copia.io/docs/git-based-source-control/additional-features/webhooks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
