Documentation
Guides for common tasks and references for each feature. For quick answers, see the FAQ.
Get started
Connect a form to Zapier
Send Contact Form 7 submissions to a Zap with Webhooks by Zapier.
Add custom code
Where to put the PHP snippets that customize CF7 to Webhook: a small plugin of your own or a snippets plugin.
Troubleshoot missing data
Check why a webhook did not arrive or arrived with empty fields.
Form data
Rename the fields sent to the webhook
Change the keys the webhook receives with the webhook option of a form tag.
Create a custom body
Write the request body yourself, with form fields replaced like in Contact Form 7 mail.
Send special mail tags
Add the post title, the visitor IP, the date and other special mail tags to the webhook data.
Get the free text of checkboxes and radios
Send what the visitor typed in the free text option of a checkbox or radio field.
Change the data before sending
Add, change or remove fields before the webhook request with a filter.
Use with Multi-Step Forms
Send the data of every step of a Contact Form 7 Multi-Step Forms form.
Requests
Add headers and authentication
Send HTTP headers such as Authorization or an API key with each webhook request.
Use form fields in the webhook URL
Put form data in the webhook URL with placeholders, or pass the page URL parameters along.
Send a GET request
Send the form data as URL query parameters with the GET method.
Change the webhook timeout
Make forms answer faster when a webhook is slow by lowering the request timeout and redirects with a filter.
Send webhooks to an internal IP address
Allow requests to a trusted service on a private or local address.
Files
Send files
How uploaded files reach the webhook: as links or as base64 content.
Media library
Add files sent through Contact Form 7 to the WordPress media library as private media, and delete old files.
Errors
Handle webhook errors
What happens when a webhook fails, how to set the notification and how to change the message.
Make multiple webhooks optionals
How to keep triggering the next webhooks when one of them fails in CF7 to Webhook.