In this example, we will walk through how you can configure webhooks to receive notifications when your transformations have finished running!
Your API Key
Your Transform ID for the transformation you want to monitor
A webhook URL
A webhook auth key
First, create a webhook by making the following API call:
Save the webhook_id
from the response for use in Step 2.
After creating the webhook, subscribe to transformation completion events using the following API call:
Before making the API calls, replace the following placeholders with your actual values:
YOUR_API_URL
: Your Trellis API URL
YOUR_API_KEY
: Your Trellis API authentication key
YOUR_TRANSFORM_ID
: The ID of the transformation you want to monitor
YOUR_WEBHOOK_ID
: The webhook ID received from Step 1
Once configured, you will receive webhook notifications at your specified endpoint whenever the specified transformation completes. The webhook will contain details about the completed transformation.