Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
docs: auto-generate TypeScript SDK reference
jkomynod5e275a51500
diff --git a/docs/content/reference/sdk-reference/typescript/triggers.mdx b/docs/content/reference/sdk-reference/typescript/triggers.mdxindex 1a455a3c7..c950bedaf 100644--- a/docs/content/reference/sdk-reference/typescript/triggers.mdx+++ b/docs/content/reference/sdk-reference/typescript/triggers.mdx@@ -269,7 +269,7 @@ The signature is computed as: `HMAC-SHA256(${webhookId}.${webhookTimestamp}.${paand is expected in the format: `v1,base64EncodedSignature````typescript-verifyWebhook(params: object): VerifyWebhookResult+async verifyWebhook(params: object): Promise<VerifyWebhookResult>```**Parameters**@@ -280,15 +280,15 @@ verifyWebhook(params: object): VerifyWebhookResult**Returns**-`VerifyWebhookResult` — The verified and parsed webhook payload with version information+`Promise<VerifyWebhookResult>` — The verified and parsed webhook payload with version information**Example**```typescript// In an Express.js webhook handler-app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {+app.post('/webhook', express.raw({ type: 'application/json' }), async (req, res) => {try {- const result = composio.triggers.verifyWebhook({+ const result = await composio.triggers.verifyWebhook({payload: req.body.toString(),signature: req.headers['webhook-signature'] as string,webhookId: req.headers['webhook-id'] as string,