Create Webhook
Create a Webhook.
Requires Administer
permission on the specified project, or global Administer
permission.
Basic Parameters
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 |
Advanced Parameters
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. |
Example Output
{
"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