@devries-cameron20 / composio Mirror · read-only / commits / d5e275a51
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 13:15 UTC

docs: auto-generate TypeScript SDK reference

jkomyno committed Jan 24, 2026 at 18:52 UTC d5e275a51500e363e617e369646c4d3b8642b773
1 file changed +4 -4
docs/content/reference/sdk-reference/typescript/triggers.mdx
+4 -4
@@ -269,7 +269,7 @@ The signature is computed as: `HMAC-SHA256(${webhookId}.${webhookTimestamp}.${pa
269 and is expected in the format: `v1,base64EncodedSignature`
270
271 ```typescript
272 -verifyWebhook(params: object): VerifyWebhookResult
272 +async verifyWebhook(params: object): Promise<VerifyWebhookResult>
273 ```
274
275 **Parameters**
@@ -280,15 +280,15 @@ verifyWebhook(params: object): VerifyWebhookResult
280
281 **Returns**
282
283 -`VerifyWebhookResult` — The verified and parsed webhook payload with version information
283 +`Promise<VerifyWebhookResult>` — The verified and parsed webhook payload with version information
284
285 **Example**
286
287 ```typescript
288 // In an Express.js webhook handler
289 -app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {
289 +app.post('/webhook', express.raw({ type: 'application/json' }), async (req, res) => {
290 try {
291 - const result = composio.triggers.verifyWebhook({
291 + const result = await composio.triggers.verifyWebhook({
292 payload: req.body.toString(),
293 signature: req.headers['webhook-signature'] as string,
294 webhookId: req.headers['webhook-id'] as string,