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

Create a Webhook.
Requires `Administer` permission on the specified project, or global `Administer` permission.

## Basic Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                   |
  | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Name             | Name displayed in the administration console of webhooks.                                                                                                                                                                                     |
  | Organization Key | The key of the project's organization.                                                                                                                                                                                                        |
  | Project Key      | The key of the project that will own the webhook.                                                                                                                                                                                             |
  | URL              | Server endpoint that will receive the webhook payload, for example `http://my_server/foo`. If HTTP Basic authentication is used, HTTPS is recommended to avoid man in the middle attacks. Example: `https://myLogin:myPassword@my_server/foo` |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                                |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
  | Secret    | If provided, secret will be used as the key to generate the HMAC hex (lowercase) digest value in the `X-Sonar-Webhook-HMAC-SHA256` header. |
</div>

## Example Output

```json theme={"dark"}
{
	"webhook": {
		"key": "AYlegme4mY9DFUM76zJe",
		"name": "test1689507751174",
		"url": "https://app.dev.blinkops.com/webhooks/99b9284f-2dc5-4f61-9c9d-dd70abf2eee8?apikey=986494e7a7164ef2a2b1b6594cbfa40a",
		"hasSecret": false
	}
}
```

## Workflow Library Example

[Create Webhook with Sonarqube and Send Results Via Email](https://library.blinkops.com/workflows/create-webhook-with-sonarqube-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-sonarqube-and-send-results-via-email/canvas" />
</div>
