Express
Integrate Nexa webhooks and file processing into an Express server.
Install
Full example
Body parsing note
Nexa webhook verification requires the raw, unparsed request body. If you apply express.json() globally, use express.raw() on the webhook route specifically:
TypeScript — request body type
When using express.raw(), req.body is a Buffer. The createWebhookHandler adapter handles both Buffer and already-parsed cases internally.