Contact Form 7

App · 4 actions

Find and manage Contact Form 7 forms on your WordPress site.

Actions

ActionWhat it does
Create a formCreate a form using the plugin’s default template.
Delete a formDelete a contact form from WordPress.
Get a formRead the form configuration, including its fields.
List formsFind contact forms by title.

Create a form

Create a form using the plugin’s default template.

Inputs

TitletitletextRequired
The name of the new form.

Outputs

dataobject
The response from Contact Form 7.
Example output
{
  "data": {
    "hash": "example",
    "id": 1,
    "locale": "example",
    "properties": {},
    "slug": "example",
    "title": "example"
  }
}

Delete a form

Delete a contact form from WordPress.

Inputs

Formform_idnumberRequired
The form id.At least 1.

Outputs

dataobject
The response from Contact Form 7.
Example output
{
  "data": {
    "deleted": true
  }
}

Get a form

Read the form configuration, including its fields.

Inputs

Formform_idnumberRequired
The form id.At least 1.

Outputs

dataobject
The response from Contact Form 7.
Example output
{
  "data": {
    "hash": "example",
    "id": 1,
    "locale": "example",
    "properties": {},
    "slug": "example",
    "title": "example"
  }
}

List forms

Find contact forms by title.

Inputs

Searchsearchtext
Words to look for in the title.
Page sizepage_sizenumber
Number of forms to return.From 1 to 100.
Offsetoffsetnumber
Number of forms to skip.At least 0.

Outputs

datalist
The response from Contact Form 7.
Example output
{
  "data": [
    {
      "hash": "example",
      "id": 1,
      "locale": "example",
      "slug": "example",
      "title": "example"
    }
  ]
}

On this page