> ## 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).

## Basic Parameters

| 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} |

## Advanced Parameters

| Parameter | Description |
| - | - |
| Active | Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. |

## 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)

![Workflow Library](https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max\&auto=format\&n=ojHYuDeYX5FWuN8a\&q=85\&s=b8af968e71438a9499c3223c9bd29fb2)

Preview this Workflow on desktop

[https://library.blinkops.com/workflows/create-webhook-with-github-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/create-webhook-with-github-and-send-results-via-email/canvas)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.