Webhook Handlers enable apps to receive incoming requests from third-party services. Unlike server functions, which are used to send requests, Webhook Handlers are designed to listen for and process external requests. They can be used to sync data into Attio or respond with on-demand data to third-party services, making them essential for integrating external systems and automating workflows.

Webhook files MUST:

  • Live under the src/webhooks directory
  • Have a .webhook.ts (or .webhook.js) suffix.
  • Contain an export default async function that:

API