How to post a custom form to your RevForm webhook

Your webhook is a private URL. Every POST to it becomes an inquiry in your inbox, classified like an email. Because you send the fields yourself, RevForm gets them as structured data and no mail text is involved.

Steps checked on November 9, 2026.

What you need

  • A RevForm account. An admin creates the webhook once under Channels, then copies its URL.
  • No paid plan is needed for the webhook itself.
  • A form or script you can edit. Keep the URL out of public pages where you can, because anyone who has it can post to your inbox (see rotating the token).

Get your webhook URL

  1. Create the webhook

    Open Channels in the RevForm dashboard. On the Webhook card, choose Create webhook. You need permission to change settings.
  2. Copy the URL

    Copy the address under Webhook URL. It ends in a long random token, for example https://rev-form.com/api/inbound/webhook/abc123.

Post with curl

Name the fields name, email, subject and message and RevForm fills the sender, subject and message from them. Every other field is kept and listed as text.
  1. Send a JSON body

    Run this in a terminal, with your own URL in place of YOUR_WEBHOOK_URL. A successful post answers with the new inquiry's id.
    curl -X POST 'YOUR_WEBHOOK_URL' \
      -H 'Content-Type: application/json' \
      -d '{"name": "Taro Yamada", "email": "[email protected]", "message": "Hello"}'
  2. Stop retries creating duplicates

    Add a header such as -H 'Idempotency-Key: order-1042' with a value that is unique to the submission. If you send the same key again, RevForm stores nothing twice.

Post with fetch

  1. Call the URL from your server

    Call it from server code, such as a form handler or serverless function, so the URL stays secret. Do not put it in a script that runs in the visitor's browser.
    await fetch(webhookUrl, {
      method: "POST",
      headers: { "Content-Type": "application/json" },
      body: JSON.stringify({ name, email, message }),
    })
  2. Check the answer

    A 200 answer means the inquiry is stored. A 404 means the token is wrong or was rotated. A 413 means the body is over 64 KB, and a 429 means too many posts in a minute.

Post from a plain HTML form

  1. Point the form at the URL

    Set the form's action to your webhook URL and its method to post. The browser sends the fields form-encoded, which RevForm reads. Name the inputs name, email, subject and message. Because the URL is then public in your page source, prefer posting from your server when you can.

Send a test submission

Send a test submission, then open your RevForm inbox. Within a minute the inquiry appears with a label and every field you sent listed as text. If it does not, check Troubleshooting below.

Troubleshooting

The webhook answers 404

The URL is wrong or its token was rotated. Copy the current URL from the Channels page and paste it into the form again.

The webhook answers 413 or 429

413 means the body is over 64 KB. 429 means too many posts in a minute from one address or to one webhook. Send less per post, or wait a minute and retry.

The inquiry arrived but the sender or message is empty

RevForm fills the sender, subject and message from fields named name, email, subject and message. Every other field is kept and listed as text. If your tool lets you choose the field names, use those.

Ready to try it?

Start free and send your first inquiry to RevForm in a few minutes.