Create a Webhook
Create a notification with webhooks for events within Immuta
Immuta offers webhooks for events in both the Request app and the Govern app. For details about the available webhooks and setup instructions for the Request app, see the Notifications section.
Webhooks for events in the Govern app are managed exclusively through the API. This guide will walk you through creating a webhook, explaining the key fields. For a complete list of all webhook-related API endpoints, see the Manage webhooks page.
Requirement
APPLICATION_ADMIN Immuta permission
Configuration options
When creating the webhook, there are two key choices:
What events will kick off the webhook?
The events that trigger the webhook are represented by notificationType in the payload when creating the webhook. For a full list of the available events, see the Webhooks reference guide. Here is a list of popular types grouped by Immuta source:
All Immuta actions and events
ALL_NOTIFICATIONS
Data sources
dataSourceExpireddataSourceExpiringdataSourceUpdatedhealthCheckFailedhealthCheckResolvedmodelCopiedmodelCreatedmodelDeletedmodelTagAddedmodelTagRemoved
Domains
automaticDomainAssignmentFailurecollectionCreatedcollectionDataSourceAddedcollectionDataSourceRemovedcollectionDeletedcollectionPermissionGrantedcollectionPermissionRevokedcollectionUpdated
Policy and data access decisions
certificationRequiredconflictingGlobalPoliciesglobalPolicyCreatedglobalPolicyDeletedglobalPolicyDisabledglobalPolicyUpdatedmodelAccessApprovedmodelAccessDeniedmodelAccessRequestedmodelAccessRevokedmodelAccessUpdatedmodelUserAddedmodelUserDeletedmodelUserJoinedpolicyCertificationExpiredpolicyUpdated
Projects
acknowledgedAccessaddedToProjectdeletedDatasourceRemovedFromProjectexpiredDatasourceRemovedFromProjectprojectDisabledprojectEqualizationMemberNotInComplianceprojectEqualizationToggledprojectUpdatedremovedFromProject
Tags
tagCreatedtagDeletedtagUpdated
Users and user management
attributeAddedattributeRemovedattributeUpdatedgroupUserAddedgroupUserDeletedpermissionsUpdateduserCloneduserCreateduserDeleteduserDisableduserEnableduserMigratedusernameUpdateduserUpdated
Do you want a personal notification for your events or do you want a global notification to monitor all events in Immuta?
If you just want notifications for your events, you should create a webhook with your own account.
If you want notifications for all events in Immuta, you should create a webhook with a system account.
Ensure you understand the user creating the webhook and if they will be completing actions that should or should not trigger a webhook:
Does the action triggering the webhook pertain to the creator of the webhook?
global represents whether the action pertains to the creator of the webhook. The options for global are
true: Webhooks will be sent for all actions, even if they to not impact the creator.false: Webhooks will only be sent out for actions that impact the creator.
Is the action triggering the webhook done by the creator of the webhook?
actionType represents whether the action was done by the creator of the webhook. The options for actionType are
triggered: Webhooks will be sent out for actions the creator performs.received: Webhooks will be sent out for actions any other user performs.null: Ifglobalis set totrue, then set actionType tonull.
See the table below for a breakdown of the options:
Webhook triggers when any user performs an action anywhere in the application. This is the recommended setting for system accounts to capture all events.
true
null
Webhook triggers when the creator performs an action that impacts themselves (e.g., they add their data source to their domain).
false
triggered
Webhook triggers when another user performs an action that impacts the creator (e.g., another user adds a data source to the creator's domain).
false
received
New webhook creation
Create the webhook
To create a webhook for all available events in Immuta with a system account, send the following request with the payload below.
Payload
View successful response
If the webhook was successfully created, you will receive a response similar to the following example.
Receive webhooks from Immuta actions
Then, when the event is triggered, you will receive a webhook similar to this example.
Last updated
Was this helpful?

