API
TypeScript
Arguments
An object containing:fileName : string
The name of your webhook file WITHOUT the .webhook.ts suffix.
Returns
AWebhookHandler object containing:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The legacy app.ts layout is deprecated. New apps use the folder-based layout under src/app/; convert existing apps with the migration guide.
Creates a webhook handler
import {createWebhookHandler} from "attio/server"
async function createWebhookHandler({fileName}: {fileName: string}): Promise<WebhookHandler>
fileName : string.webhook.ts suffix.
WebhookHandler object containing:
id : stringupdateWebhookHandler() or
deleteWebhookHandler().url : stringfileName: stringWas this page helpful?