> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Webhook

Repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks can
share the same `config` as long as those webhooks do not have any `events` that overlap.

<Note>
  External Documentation

  To learn more, visit the [GitHub documentation](https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter           | Description                                                                                                       |
  | ------------------- | ----------------------------------------------------------------------------------------------------------------- |
  | Config Content Type | The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. |
  | Config Secret       | If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for.                    |
  | Events              | Determines what events the hook is triggered for.                                                                 |
  | Name                | This parameter only accepts the value `web`.                                                                      |
  | Owner               | The organization or person who owns the repository. github.com/{owner}/{repo}                                     |
  | Payload URL         | The URL to which the payloads will be delivered.                                                                  |
  | Repo                | Name of the repository owned by the owner. github.com/{owner}/{repo}                                              |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                              |
  | --------- | -------------------------------------------------------------------------------------------------------- |
  | Active    | Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. |
</div>

## Example Output

```json theme={"dark"}
{
	"value": {
		"active": true,
		"config": {
			"content_type": "json",
			"insecure_ssl": "0",
			"url": "https://example.com/webhook"
		},
		"created_at": "2019-06-03T00:57:16Z",
		"deliveries_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/deliveries",
		"events": [
			"push",
			"pull_request"
		],
		"id": 12345678,
		"last_response": {
			"code": null,
			"message": null,
			"status": "unused"
		},
		"name": "web",
		"ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
		"test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
		"type": "Repository",
		"updated_at": "2019-06-03T00:57:16Z",
		"url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678"
	}
}
```

## Workflow Library Example

[Create Webhook with Github and Send Results Via Email](https://library.blinkops.com/workflows/create-webhook-with-github-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-webhook-with-github-and-send-results-via-email/canvas" />
</div>
