rithik1095
10/04/2025, 2:18 PMhttps://my-app-backend.example.com
- I have triggers set up with webhook URLs configured in Composio settings
__Issue:__ I initially designed my webhook endpoint with dynamic path parameters like: /api/webhooks/trigger/{trigger_id}
However, it seems Composio requires a static webhook URL that doesn't change per trigger.
__Questions:__
1. __Is this correct?__ Does Composio only support static webhook URLs (without dynamic path parameters)?
2. __Best Practice:__ What's the recommended approach for handling multiple triggers with a single static endpoint? Should I:
- Use a single endpoint like /webhook or /api/webhooks/composio
- Differentiate triggers based on payload content or headers?
- Use query parameters instead of path parameters?
3. __Trigger Identification:__ How can I identify which specific trigger fired when using a static endpoint? Is there a trigger ID or identifier included in the webhook payload/headers?
__Current Endpoint I'm Planning:__
javascript
https://my-app-backend.example.com/webhook
Any guidance on the proper webhook configuration pattern would be greatly appreciated!rithik1095
10/04/2025, 2:19 PMAkram Boussanni
10/04/2025, 4:12 PMAkram Boussanni
10/04/2025, 4:14 PMrithik1095
10/04/2025, 8:24 PMrithik1095
10/04/2025, 8:24 PMAkram Boussanni
10/05/2025, 12:25 AM"trigger_nano_id": "0dLyxiVPNPov",
"trigger_id": "af0eb1fe-c62d-4529-834c-fd7bc00b99ce",
We provide something like this in payload.