# Forms

Use these endpoints to list forms and read a single form with its settings.

### `GET` `/forms`

List forms, newest first, with entry and view counts.

**Permission:** `fluentform_dashboard_access`

Users limited to specific forms only see those forms.

**Parameters**

Query

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `page` | integer | `1` | Page number. |
| `per_page` | integer | `10` | Forms per page. There is no upper limit. Must be at least 1. |
| `search` | string | | Matches the form ID or title (partial match). |
| `status` | string | `all` | Exact match on the form status, such as `published` or `unpublished`. `all` turns the filter off. |
| `filter_by` | string | `all` | One of `all`, `published`, `unpublished`, `post` (post forms), `is_payment` (forms with payment fields), `conv_form` (conversational forms), `step_form` (multi-step forms). |
| `date_range` | array | | Two dates, `[start, end]`, as `YYYY-MM-DD`. Filters on the form's creation date, both days included. Send as `date_range[]=2026-01-01&date_range[]=2026-01-31`. |
| `sort_column` | string | `id` | One of `id`, `title`, `status`, `type`, `created_at`, `updated_at`, `total_Submissions`, `total_views`. Any other value sorts by `id`. |
| `sort_by` | string | `DESC` | `ASC` or `DESC`. |

**Example request**

```bash
curl 'https://your-site.com/wp-json/fluentform/v1/forms?per_page=20&filter_by=published' \
  -u 'admin:xxxx xxxx xxxx xxxx xxxx xxxx'
```

**Example response**

Column values from the database come back as strings. Counts are integers.

```json
{
  "current_page": 1,
  "per_page": 20,
  "from": 1,
  "to": 1,
  "last_page": 1,
  "total": 1,
  "data": [
    {
      "id": "12",
      "title": "Contact Form",
      "status": "published",
      "appearance_settings": "",
      "has_payment": "0",
      "type": "form",
      "conditions": "",
      "created_by": "1",
      "created_at": "2026-03-02 10:14:05",
      "updated_at": "2026-03-04 08:20:11",
      "preview_url": "https://your-site.com/?fluent_forms_pages=1&design_mode=1&preview_id=12#ff_preview",
      "edit_url": "https://your-site.com/wp-admin/admin.php?page=fluent_forms&route=editor&form_id=12",
      "settings_url": "https://your-site.com/wp-admin/admin.php?page=fluent_forms&form_id=12&route=settings&sub_route=form_settings",
      "appearance_url": "https://your-site.com/wp-admin/admin.php?page=fluent_forms&form_id=12&route=settings&sub_route=form_settings#/appearance",
      "integrations_url": "https://your-site.com/wp-admin/admin.php?page=fluent_forms&form_id=12&route=settings&sub_route=form_settings#/form-settings/integrations",
      "settings_label": "Configuration",
      "entries_url": "https://your-site.com/wp-admin/admin.php?page=fluent_forms&route=entries&form_id=12",
      "analytics_url": "https://your-site.com/wp-admin/admin.php?page=fluent_forms&route=analytics&form_id=12",
      "total_views": 240,
      "total_Submissions": 36,
      "deletion_entry_count": 38,
      "has_fields": true,
      "unread_count": 4,
      "conversion": 15
    }
  ]
}
```

- `total_Submissions` counts entries that are not trashed. `deletion_entry_count` counts all entries, trashed included.
- `conversion` is `total_Submissions / total_views` as a whole percentage, rounded up. It is `0` when there are no views.
- `conversion_preview` is added only for conversational forms. It holds the conversational preview URL.
- `form_fields` is not included. Use `GET /forms/{form_id}` to read the fields.

### `GET` `/forms/{form_id}`

Get one form with its field schema and all of its meta rows.

**Permission:** `fluentform_forms_manager`

**Parameters**

Path

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `form_id` | integer | | The form ID. |

**Example request**

```bash
curl https://your-site.com/wp-json/fluentform/v1/forms/12 \
  -u 'admin:xxxx xxxx xxxx xxxx xxxx xxxx'
```

**Example response**

`form_fields` and each meta `value` are JSON strings. Decode them on your side.

```json
{
  "id": 12,
  "title": "Contact Form",
  "status": "published",
  "appearance_settings": "",
  "form_fields": "{\"fields\":[{\"index\":1,\"element\":\"input_email\",\"attributes\":{\"type\":\"email\",\"name\":\"email\",\"value\":\"\",\"placeholder\":\"Email Address\"},\"settings\":{\"label\":\"Email\",\"validation_rules\":{\"required\":{\"value\":true,\"message\":\"This field is required\"},\"email\":{\"value\":true,\"message\":\"This field must contain a valid email\"}}}}],\"submitButton\":{\"element\":\"button\",\"attributes\":{\"type\":\"submit\"},\"settings\":{\"button_ui\":{\"type\":\"default\",\"text\":\"Submit Form\"}}}}",
  "has_payment": "0",
  "type": "form",
  "conditions": "",
  "created_by": "1",
  "created_at": "2026-03-02 10:14:05",
  "updated_at": "2026-03-04 08:20:11",
  "form_meta": [
    {
      "id": 431,
      "form_id": "12",
      "meta_key": "formSettings",
      "value": "{\"confirmation\":{\"redirectTo\":\"samePage\",\"messageToShow\":\"Thank you for your message.\",\"samePageFormBehavior\":\"hide_form\"},\"restrictions\":{\"limitNumberOfEntries\":{\"enabled\":false}},\"layout\":{\"labelPlacement\":\"top\"}}"
    }
  ]
}
```

`form_meta` holds every meta row of the form. That includes settings, email notifications and integration feeds.

**Errors**

- `422` with `{"message": "The form couldn't be found."}` when no form has this ID.
