Get ActionKit Triggers
Similar to the Tools API, we can get all of the available triggers for a connected user via an API call. For Triggers, we can use theGET Triggers endpoint.
Example response
If you have a specific Trigger in mind, you can also visit the Triggers API docs to browse every available Trigger.
Subscribing to a Trigger
For any Trigger, call thePOST /trigger-subscriptions to subscribe to any of your users’ integration events. This webhook subscription does NOT apply to all of your users with that connected integration (i.e. you will not receive webhook events from all of your user’s with a connected HubSpot account).
Subscribing to a Trigger is done at a connected user level, where you can be specific in configuring subscriptions for every user.
Receiving Webhooks
After subscribing to a Trigger, webhooks are sent to either your default webhook URL (configured in the Paragon Dashboard) OR to the URL specified in thewebhookOverride parameter.
A useful endpoint for seeing the schema of a webhook payload is the POST triggers/examples endpoint. This endpoint returns an example payload that takes into account your user’s custom objects and fields they may have in their connected integration.
Example Payload