Contact Form 7 to API
Send Contact Form 7 submissions to a remote API with GET or POST.
Solid choice
Contact Form 7 to API is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 4.3/5 and was last updated 2 months ago, and scores 75/100 on our health check.
- Tested with the latest WordPress (7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Contact Form 7 to API stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| api | #25 |
| contact form 7 | >100 |
| crm | >100 |
| rest-api | #32 |
| webhook | #66 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.3 from 6 reviews
About Contact Form 7 to API
From the official readme · v1.5.4Description
Contact Form 7 to API adds an API Integration tab to each form. When the form is submitted, the entry is sent to the URL you set.
What you can send
- Parameters. Map each form field to an API key. GET adds the pairs to the query string and sends no body. POST sends them as the body.
- JSON. The filled template is the request body for both GET and POST.
- XML. The filled template is the request body. XML is always sent as POST, and the method menu is hidden.
- Files. Uploads are sent as base64. A file larger than 8 MB is left out.
- Acceptance. In JSON, an acceptance field is a boolean:
truewhen checked andfalsewhen it is not. In XML and in parameter mode it is the texttrueorfalse. - Auth. Basic auth (
user:secret) or a Bearer token. Bearer is used when both are filled in, and both are sent on GET and POST. - Headers. One
Name: valueline each. - Timeout. Defaults to 15 seconds. You can set 1 to 60 seconds on the form.
A JSON template looks like this:
{ "name": "[your-name]", "email": "[your-email]" }
If the URL already has a query string, mapped fields are added with &. https://example.com/hook?token=abc keeps the token, and the fields follow it.
When the call fails
A response outside HTTP 200–299, a connection error, or a rejected URL fails the submission and skips the Contact Form 7 email. The visitor sees the form’s usual error message.
Turn on Show the API response body as the form message to show a JSON message field, or a shortened copy of any other body.
The last call is saved on the form. Open DEBUG LOG on the API Integration tab. Authorization header values are not stored.
Good to know
- Credentials are stored in the form. Anyone who can edit the form can read them.
- Keep one copy of the plugin active. WordPress.org installs it in
cf7-to-api-basic-auth. A GitHub checkout usescf7-to-api. Version 1.5.0 and newer skip loading when another copy is already active. Delete the extra folder. - WordPress allows public http and https URLs on ports 80, 443, and 8080. For a private host or another port, return that URL from the
qs_cf7_api_validated_urlfilter, and only for an address you trust.
External service
This plugin does not call a service of its own. Nothing is sent until Send to API is turned on for that form. The request then goes to the URL entered on the API Integration tab. You choose that address. Its terms of use and privacy policy are the ones published by whoever runs it.
The request can include:
- Mapped field values, or the filled JSON or XML template.
- File contents, as base64, for files of 8 MB or less.
- Any special mail-tag you put in a template.
[_remote_ip]is the visitor’s IP address.[_url]is the page URL. - The Basic or Bearer credential, in the Authorization header, when one is saved on the form.
On your own site, the API URL, credentials, templates, and field map are stored in the Contact Form 7 form. The debug log stores the last called URL, request body, header names, response code, response body, and error on that same form. Authorization header values are not stored.
Deleting the plugin removes the option that remembers dismissed notices. It leaves Contact Form 7 posts in place, including the API settings and the debug log.
Installation
- Install and activate Contact Form 7.
- Install and activate Contact Form 7 to API. It can be activated first, and it shows a notice until Contact Form 7 is active.
- Edit a form, open the API Integration tab, and save.
Changelog
API responses outside HTTP 200-299 fail the form and skip the email. The default timeout is 15 seconds. Re-save a form if a JSON or XML template shows extra backslashes.
1.5.4
- Trim surrounding whitespace from the saved API endpoint URL. An already encoded %20 is left as-is.
1.5.3
- Documents what is sent to the API URL, what the debug log stores, and what uninstall leaves in place. Form and API behavior match 1.5.2.
1.5.2
- Rewrites the plugin directory readme.
- The API Integration tab script no longer depends on jQuery. Form and API behavior match 1.5.1.
1.5.1
- Maintenance release. The directory index file contains a short PHP comment so coding-standards checks can read it. Form and API behavior match 1.5.0.
1.5.0
- Requires WordPress 6.7 and PHP 7.4. Tested with WordPress 7.1 and Contact Form 7 5.9 through 6.2.
- Fixes a fatal error when two copies of the plugin are active.
- Fixes saving JSON and XML templates so quotes are no longer stored as backslashes.
- Fixes a PHP 8 error when a JSON or XML template is saved without a field map.
- Appends fields to an existing query string with
&, and sends Basic and Bearer auth on GET. - Encodes JSON values, so quotes, newlines, and dollar signs stay valid JSON. XML values are escaped.
- Resolves Contact Form 7 special mail-tags in templates.
- Adds a timeout field and a custom headers field. Requests use HTTP/1.1.
- A non-2xx response, a transport error, or an invalid API URL fails the submission and skips the email.
- Escapes the API tab, checks a nonce and capability before dismissing notices, and limits assets to Contact Form 7 screens.
- Removes the unused template-helper class.
1.4.11
- Support the Contact Form 7 property loader used by current CF7 releases.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Contact Form 7 to API alternatives
All api plugins →FAQ
Contact Form 7 to API: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Contact Form 7 to API free?
Yes. Contact Form 7 to API is free to download and use from the official WordPress.org plugin directory.
Is Contact Form 7 to API safe to use in 2026?
Contact Form 7 to API is a solid plugin choice in 2026, with a few things worth checking first. It runs on 1K+ sites, is rated 4.3/5 and was last updated 2 months ago, and scores 75/100 on our health check.
How many websites use Contact Form 7 to API?
Contact Form 7 to API is active on 1K+ WordPress websites and has been downloaded 32,250 times since it launched in May 2018. It was downloaded 1,014 times in the last 30 days.
Does Contact Form 7 to API work with WordPress 7.1?
Yes. The developer has tested Contact Form 7 to API up to WordPress 7.1.5, the latest release. It requires WordPress 6.7 or newer.
What PHP version does Contact Form 7 to API need?
Contact Form 7 to API requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Contact Form 7 to API last updated?
The latest version, 1.5.4, was released on October 13, 2026 (2 months ago).
Who makes Contact Form 7 to API?
Contact Form 7 to API is developed and maintained by Kenny Meyer.
What are the best alternatives to Contact Form 7 to API?
The most popular alternatives to Contact Form 7 to API are WP Consent API (300K+ installs), Disable REST API (80K+ installs) and Mailgun for WordPress (70K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
