integrations

Integrations

These examples show how to receive Freshbatch webhooks in your stack. Most include signature verification, parse the job list, and return a fast 2xx. Pick the one that matches your workflow.

General best practices

  • Verify the signature first before doing anything with the payload. Return 401 on mismatch.
  • Return 2xx fast. If processing takes time, enqueue jobs and process asynchronously.
  • Filter by is_test to avoid polluting your database during setup.
  • Expose locally with ngrok during development so you can receive real deliveries on your machine.