Skip to main content
Webhooks let you send form submissions to your own server or third-party services.

Setup

  1. Go to your form settings
  2. Enable webhooks
  3. Enter your webhook URL
  4. Optionally add a webhook secret for signature verification

Payload Format

FormBnB sends a POST request with JSON body:

Signature Verification

If you set a webhook secret, FormBnB includes a signature header for verification:
Verify the signature in your webhook handler:

Retries

FormBnB automatically retries failed webhooks with exponential backoff: A webhook is considered failed if:
  • Response status is not 2xx
  • Request times out (30 seconds)
  • Connection error

Response

Your webhook should return a 2xx status code to acknowledge receipt. The response body is ignored.

Testing

Test your webhook locally using ngrok:
Then use the ngrok URL as your webhook URL during development.

Example Handlers

Node.js / Express

Python / Flask

Next.js API Route