Manage Webhooks

Required Immuta permission: APPLICATION_ADMIN

Webhook configuration

With the UI

  1. Click New webhook.

  2. Enter the Webhook URL to send the webhook to.

  3. Opt to enter a Secret.

  4. If necessary, disable TLS verification with the toggle. Disabling is not recommended.

  5. Click Save.

With the API

Ensure you set the correct global segment and use a Request app personal access token (PAT) when using the Request app API. See the Request app API docs for additional guidance or to download the OpenAPI YAML for your own client generation.

Create webhook

post

Create a new webhook

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
urlstring · uriRequired
verifyTlsbooleanOptionalDefault: true
signingKeystringOptional
Responses
chevron-right
200Success
application/json
idstring · uuidRequired
urlstring · uriRequired
verifyTlsbooleanOptionalDefault: true
signingKeybooleanOptionalDefault: false
suppressedbooleanOptionalDefault: false
post
/api/notification/webhook
200Success

Test the webhook

With the UI

To send a test webhook to all your configured webhooks,

  1. Click Test webhook in the actions column of any webhook. It will send out a test payload to all the configured webhooks.

With the API

Ensure you set the correct global segment and use a Request app personal access token (PAT) when using the Request app API. See the Request app API docs for additional guidance or to download the OpenAPI YAML for your own client generation.

Test webhook configuration

post

Test all webhook configurations

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
urlstring · uriRequired
verifyTlsbooleanOptionalDefault: true
signingKeystringOptional
Responses
chevron-right
200Success
application/json
statusstring · enumRequiredPossible values:
httpStatusCodenumberRequired
errorMessagestringOptional
post
/api/notification/webhook/test
200Success

Reset a webhook secret

If you lose or forget the secret you set in a webhook, you can reset it.

circle-exclamation

With the UI

  1. Click the webhook you want to edit, which will open the side-sheet.

  2. Click Reset secret.

With the API

Ensure you set the correct global segment and use a Request app personal access token (PAT) when using the Request app API. See the Request app API docs for additional guidance or to download the OpenAPI YAML for your own client generation.

Update webhook

put

Update the details of a specific webhook by ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
urlstring · uriOptional
verifyTlsbooleanOptionalDefault: true
signingKeystringOptional
Responses
chevron-right
200Success
application/json
idstring · uuidRequired
urlstring · uriRequired
verifyTlsbooleanOptionalDefault: true
signingKeybooleanOptionalDefault: false
suppressedbooleanOptionalDefault: false
put
/api/notification/webhook/{id}
200Success

Delete webhook

With the UI

  1. Click the webhook you want to delete, which will open the side-sheet.

  2. Click Delete, and then Delete again.

With the API

Ensure you set the correct global segment and use a Request app personal access token (PAT) when using the Request app API. See the Request app API docs for additional guidance or to download the OpenAPI YAML for your own client generation.

Delete webhook

delete

Delete a specific webhook by ID

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
delete
/api/notification/webhook/{id}
204Success

No content

Last updated

Was this helpful?