Summer Sale: Save 20% on any WS Form edition CODE: SUMMER20 View Pricing
Webhook Action
Built-In

Webhook Action

Send form data to any URL endpoint and map returned JSON data back into your form.

How to Send Form Data with a Webhook in WordPress

Connect your forms to custom endpoints and return data to fields

Webhook Action lets you send WordPress form submission data to any URL endpoint. Supported request methods include POST, GET, PUT, DELETE, and PATCH.

You can map form fields to request keys, add custom key/value pairs, and include additional HTTP headers. WS Form also supports JSON and URL encoded content types.

When response processing is enabled, returned JSON data can be mapped into form fields. You can also map HTTP status codes to ignore the response, process response field mapping, throw an error, or halt action processing.

Common uses include pushing submissions to a custom endpoint, sending data to a third party without a native integration, and pre-loading form fields with data from an endpoint.

  • Flexible request methods

    Send data using POST, GET, PUT, DELETE, or PATCH.

  • Map request data

    Map form fields to request keys, add custom values, and include HTTP headers.

  • Use returned JSON

    Map JSON response data into form fields and control how HTTP status codes are handled.

Real Customer Reviews

Trusted by thousands of WordPress professionals.

  • Integrates much better with cleaner page builders such as Oxygen, Bricks, and Breakdance. Support is top notch and really helpful.

    tdnettl
  • I've used several form plugins, most recently Formidable Forms which was I thought was the most advanced, develop-friendly one around. Not anymore. Absolutely worth every penny.

    deralict
  • Such a well thought out and detailed plugin. It’s so intuitive and you can do just about anything with it. Such a pleasure to work with.

    gelform

Frequently Asked Questions

How do I integrate WordPress with Webhook Action using WS Form?

Add a Webhook action in the Actions sidebar, choose your endpoint URL and request settings, map the fields you want to send, and save the action. For full setup details, see Webhook Action.

Which request methods does Webhook Action support?

Webhook Action supports POST, GET, PUT, DELETE, and PATCH requests.

Which content types can I use?

You can send webhook data as JSON (application.json) or URL encoded (application/x-www-form-urlencoded).

Can I map form fields to custom request keys?

Yes. You can map form fields to key names in the request data, including simple key names and dot notation such as person[0].name.first.

Can Webhook Action add returned data to form fields?

Yes. When response processing is enabled, returned JSON data can be mapped into form fields using Response Field Mapping.

How are HTTP response codes handled?

You can map HTTP status codes to one of four handlers: Ignore, Process Response Field Mapping, Throw error, or Halt.

Can I add headers to the request?

Yes. Header Mapping lets you add additional HTTP headers to the request.

Get This Integration

View Editions →

Built into WS Form PRO and available with every PRO edition.