Skip to main content

Subscribe To Webhook

Starts a subscription to the specified content type. If a subscription to the specified content type already exists, this action updates its properties.

  • Least privileged Office 365 Management API permission to access the action via application: ActivityFeed.Read, ServiceHealth.Read.
External Documentation

Basic Parameters

ParameterDescription
API KeyThis API Key is sent as a query parameter which is used for execution authentication. It's useful when creating a webhook integration with vendors such as Blink.

You can find more information in our Webhooks Documentation.
Content TypeSpecifies the type of activity logs you want to receive notifications for.

For further details, please refer to Microsoft Documentation.
Expiration DateThe expiration date of the webhook.
Webhook AddressThe address of the webhook.

Note: A validation request will be sent to the webhook. To activate the webhook the server must be HTTPS and it needs to respond with a 200 status code.

For further information, please refer to Microsoft Documentation.
Webhook AuthIDA string that will be included as the WebHook-AuthID header in notifications sent to the webhook as a means of identifying and authorizing the source of the request to the webhook.

Advanced Parameters

ParameterDescription
Publisher IdentifierThis parameter is used for throttling the request rate.

For further information regarding Publisher Identifier, please refer to Microsoft Documentation.

Example Output

{
"contentType": "Audit.SharePoint",
"status": "enabled",
"webhook": {
"status": "enabled",
"address": "https://webhook.myapp.com/o365/",
"authId": "o365activityapinotification",
"expiration": null
}
}

Workflow Library Example

Subscribe to Webhook with Microsoft Office 365 Management Activity and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop