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.
true when checked and false when it is not. In XML and in parameter mode it is the text true or false.user:secret) or a Bearer token. Bearer is used when both are filled in, and both are sent on GET and POST.Name: value line each.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.
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.
cf7-to-api-basic-auth. A GitHub checkout uses cf7-to-api. Version 1.5.0 and newer skip loading when another copy is already active. Delete the extra folder.qs_cf7_api_validated_url filter, and only for an address you trust.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:
[_remote_ip] is the visitor’s IP address. [_url] is the page URL.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.