# Entries

Use these endpoints to list and read form entries, change their status, and manage their notes.

### `GET` `/submissions`

List entries, across all forms or for one form.

**Permission:** `fluentform_entries_viewer`

The check runs against `form_id` when you send it. Users limited to specific forms only see entries of those forms.

**Parameters**

Query

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `form_id` | integer | | Only entries of this form. Leave it out to list entries of every form you can access. |
| `page` | integer | `1` | Page number. |
| `per_page` | integer | `15` | Entries per page. There is no upper limit. Must be at least 1. |
| `entry_type` | string | | Filter by status: `unread`, `read`, `spam`, `trashed`, or `favorites` (favorited entries that are not trashed). Leave it out to get every entry except trashed ones. Fluent Forms Pro adds `unapproved`, `approved`, `declined` (Admin Approval) and `unconfirmed`, `confirmed` (Double Opt-in) on forms that use them. |
| `search` | string | | Partial match on the entry ID, the submitted data, the status and the submission date. With `form_id`, a number (with or without a leading `#`) also matches the entry serial number. |
| `date_range` | array | | Two dates, `[start, end]`, as `YYYY-MM-DD`. Both are required. The end day is included. Send as `date_range[]=2026-01-01&date_range[]=2026-01-31`. |
| `payment_statuses` | array | | Only entries with one of these payment statuses, such as `paid`, `pending` or `failed`. Send as `payment_statuses[]=paid`. |
| `sort_column` | string | `created_at` | `id` or `created_at`. With `form_id`, `serial_number` is also allowed. Other values use the default. |
| `sort_by` | string | `DESC` | `ASC` or `DESC`. |
| `parse_entry` | boolean | `false` | When true and `form_id` is set, each entry gets a `user_inputs` object with readable values keyed by field name. |

**Example request**

```bash
curl 'https://your-site.com/wp-json/fluentform/v1/submissions?form_id=12&entry_type=unread&per_page=20' \
  -u 'admin:xxxx xxxx xxxx xxxx xxxx xxxx'
```

**Example response**

`response` is the submitted data as a JSON string. Most column values come back as strings.

```json
{
  "current_page": 1,
  "data": [
    {
      "id": 1045,
      "form_id": "12",
      "serial_number": "36",
      "response": "{\"names\":{\"first_name\":\"Jane\",\"last_name\":\"Doe\"},\"email\":\"jane@example.com\",\"message\":\"Hello there\"}",
      "source_url": "https://your-site.com/contact/",
      "user_id": "0",
      "status": "unread",
      "is_favourite": "0",
      "browser": "Chrome",
      "device": "Apple",
      "ip": "203.0.113.10",
      "city": null,
      "country": null,
      "payment_status": null,
      "payment_method": null,
      "payment_type": null,
      "currency": null,
      "payment_total": null,
      "total_paid": null,
      "created_at": "2026-03-04 09:12:38",
      "updated_at": "2026-03-04 09:12:38"
    }
  ],
  "first_page_url": "https://your-site.com/wp-json/fluentform/v1/submissions?page=1",
  "from": 1,
  "last_page": 2,
  "last_page_url": "https://your-site.com/wp-json/fluentform/v1/submissions?page=2",
  "links": [
    {
      "url": null,
      "label": "pagination.previous",
      "active": false
    }
  ],
  "next_page_url": "https://your-site.com/wp-json/fluentform/v1/submissions?page=2",
  "path": "https://your-site.com/wp-json/fluentform/v1/submissions",
  "per_page": 20,
  "prev_page_url": null,
  "to": 20,
  "total": 36
}
```

- Each entry has `user_inputs` only when `parse_entry` is true.
- The page URLs carry only `page`. They drop your other query parameters.

### `GET` `/submissions/{entry_id}`

Get one entry with its submitted values parsed for display.

**Permission:** `fluentform_entries_viewer`

Reading an `unread` entry marks it as `read`. The `fluentform/auto_read_submission` filter can turn this off.

**Parameters**

Path

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `entry_id` | integer | | The entry ID. |

**Example request**

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

**Example response**

```json
{
  "id": 1045,
  "form_id": "12",
  "serial_number": "36",
  "response": "{\"names\":{\"first_name\":\"Jane\",\"last_name\":\"Doe\"},\"email\":\"jane@example.com\",\"message\":\"Hello there\"}",
  "source_url": "https://your-site.com/contact/",
  "user_id": "3",
  "status": "read",
  "is_favourite": "0",
  "browser": "Chrome",
  "device": "Apple",
  "ip": "203.0.113.10",
  "city": null,
  "country": null,
  "payment_status": null,
  "payment_method": null,
  "payment_type": null,
  "currency": null,
  "payment_total": null,
  "total_paid": null,
  "created_at": "2026-03-04 09:12:38",
  "updated_at": "2026-03-04 09:12:38",
  "_entry_uid_hash": "25b1cf2f0e9e5adc86e1811f4b0bc32b",
  "entry_uid_link": "https://your-site.com/?ff_entry=1&hash=25b1cf2f0e9e5adc86e1811f4b0bc32b",
  "user_inputs": {
    "names": "Jane Doe",
    "email": "jane@example.com",
    "message": "Hello there"
  },
  "user": {
    "ID": 3,
    "name": "Jane Doe",
    "permalink": "https://your-site.com/wp-admin/user-edit.php?user_id=3"
  },
  "submission_meta": [
    {
      "id": 15744,
      "response_id": "1045",
      "form_id": "12",
      "meta_key": "_entry_uid_hash",
      "value": "25b1cf2f0e9e5adc86e1811f4b0bc32b",
      "status": null,
      "user_id": null,
      "name": null,
      "created_at": "2026-03-04 09:12:38",
      "updated_at": "2026-03-04 09:12:38"
    }
  ]
}
```

- `user_inputs` values are formatted for display and can contain HTML, for example links to uploaded files.
- `_entry_uid_hash` and `submission_meta` are present when the entry has a unique hash. Entries created by Fluent Forms get one at submission.
- `entry_uid_link` appears only when the form has front-end entry view turned on.
- `user` appears only when the entry belongs to an existing WordPress user. `name` is the first and last name, or the display name when those are empty.

**Errors**

- `422` with `{"message": "No Entry found."}` when no entry has this ID.

### `POST` `/submissions/{entry_id}/status`

Change the status of an entry.

**Permission:** `fluentform_manage_entries`

**Parameters**

Path

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `entry_id` | integer | | The entry ID. |

Body

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `status` | string | | Required. One of `unread`, `read`, `spam`, `trashed`. Fluent Forms Pro adds `unapproved`, `approved`, `declined` on forms with Admin Approval and `confirmed` on forms with Double Opt-in. |

**Example request**

```bash
curl https://your-site.com/wp-json/fluentform/v1/submissions/1045/status \
  -u 'admin:xxxx xxxx xxxx xxxx xxxx xxxx' \
  -H 'Content-Type: application/json' \
  -d '{"status": "read"}'
```

**Example response**

```json
{
  "message": "The submission has been marked as read",
  "status": "read",
  "unread_count": 17
}
```

`unread_count` appears only when the entry moved into or out of `unread`. It is the number of unread entries across the forms you can access.

**Errors**

- `422` with `{"message": "Submission not found"}` when no entry has this ID.
- `422` with `{"message": "Invalid entry status"}` when `status` is missing or not allowed for this entry.

**Side effects**

- Fires the `fluentform/after_submission_status_update` action with the entry ID and the new status.
- With Fluent Forms Pro Admin Approval, `approved` runs the form's notifications and integrations if they have not run yet. `declined` sends the declined email once.

### `GET` `/submissions/{entry_id}/notes`

List the notes of an entry, newest first.

**Permission:** `fluentform_entries_viewer`

**Parameters**

Path

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `entry_id` | integer | | The entry ID. |

Query

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `per_page` | integer | `0` | Notes per page, up to `100`. `0` returns all notes. |
| `page` | integer | `1` | Page number. Used only when `per_page` is above `0`. |
| `api_log` | string | | Send `yes` to also include the entry's integration API log rows (`meta_key` `api_log`). |

**Example request**

```bash
curl 'https://your-site.com/wp-json/fluentform/v1/submissions/1045/notes?per_page=20' \
  -u 'admin:xxxx xxxx xxxx xxxx xxxx xxxx'
```

**Example response**

The response is a plain array with no paging details.

```json
[
  {
    "id": 4879,
    "response_id": "1045",
    "form_id": "12",
    "meta_key": "_notes",
    "value": "Called the customer back.",
    "status": "info",
    "user_id": "1",
    "name": "admin",
    "created_at": "2026-03-05 08:47:28",
    "updated_at": "2026-03-05 08:47:28",
    "pemalink": "https://your-site.com/wp-admin/profile.php",
    "created_by": "Site Admin"
  }
]
```

- `pemalink` (spelled this way) is the edit-profile link of the note's author, or `false` when the note has no author.
- `created_by` appears only when the note has an author. It is the author's display name, or `Fluent Forms Bot` when the user no longer exists.
- An entry ID with no notes, or that does not exist, returns `[]`.

### `POST` `/submissions/{entry_id}/notes`

Add a note to an entry.

**Permission:** `fluentform_manage_entries`

**Parameters**

Path

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `entry_id` | integer | | The entry ID. |

Body

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `note` | object | | The note. |
| `note.content` | string | | The note text. HTML tags are removed. Line breaks are kept. |
| `note.status` | string | | A free-text label stored with the note. The admin screen sends `info`. |

**Example request**

```bash
curl https://your-site.com/wp-json/fluentform/v1/submissions/1045/notes \
  -u 'admin:xxxx xxxx xxxx xxxx xxxx xxxx' \
  -H 'Content-Type: application/json' \
  -d '{"note": {"content": "Called the customer back.", "status": "info"}}'
```

**Example response**

```json
{
  "message": "Note has been successfully added",
  "note": {
    "response_id": "1045",
    "form_id": 12,
    "meta_key": "_notes",
    "value": "Called the customer back.",
    "status": "info",
    "user_id": 1,
    "name": "admin",
    "created_at": "2026-03-05 08:47:28",
    "updated_at": "2026-03-05 08:47:28",
    "id": 4880
  },
  "insert_id": 4880
}
```

The note's author is the user making the request. `name` is that user's display name.

**Side effects**

- Fires the `fluentform/submission_note_stored` action with the note ID and the note.

### `PUT` `/submissions/{entry_id}/notes/{note_id}`
`Added in 7.0`

Edit the text or label of a note.

**Permission:** `fluentform_manage_entries`

**Parameters**

Path

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `entry_id` | integer | | The entry ID. |
| `note_id` | integer | | The note ID. The note must belong to this entry. |

Body

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `note` | object | | The new values. |
| `note.content` | string | | Required. The new note text. HTML tags are removed. Line breaks are kept. |
| `note.status` | string | current value | The new label. Left unchanged when omitted. |

**Example request**

```bash
curl -X PUT https://your-site.com/wp-json/fluentform/v1/submissions/1045/notes/4880 \
  -u 'admin:xxxx xxxx xxxx xxxx xxxx xxxx' \
  -H 'Content-Type: application/json' \
  -d '{"note": {"content": "Called the customer back. Issue solved."}}'
```

**Example response**

```json
{
  "message": "Note has been successfully updated",
  "note": {
    "id": 4880,
    "response_id": "1045",
    "form_id": "12",
    "meta_key": "_notes",
    "value": "Called the customer back. Issue solved.",
    "status": "info",
    "user_id": "1",
    "name": "admin",
    "created_at": "2026-03-05 08:47:28",
    "updated_at": "2026-03-05 09:02:10"
  }
}
```

The note keeps its original author.

**Errors**

- `422` with `{"message": "Note not found for this submission"}` when the note does not exist or belongs to another entry.
- `422` with `{"message": "Note content is required"}` when `note.content` is empty.

**Side effects**

- Fires the `fluentform/submission_note_updated` action with the note ID and the note.

### `DELETE` `/submissions/{entry_id}/notes/{note_id}`
`Added in 7.0`

Delete a note.

**Permission:** `fluentform_manage_entries`

**Parameters**

Path

| Name | Type | Default | Description |
|------|------|---------|-------------|
| `entry_id` | integer | | The entry ID. |
| `note_id` | integer | | The note ID. The note must belong to this entry. |

**Example request**

```bash
curl -X DELETE https://your-site.com/wp-json/fluentform/v1/submissions/1045/notes/4880 \
  -u 'admin:xxxx xxxx xxxx xxxx xxxx xxxx'
```

**Example response**

```json
{
  "message": "Note has been successfully deleted"
}
```

**Errors**

- `422` with `{"message": "Note not found for this submission"}` when the note does not exist or belongs to another entry.

**Side effects**

- Fires `fluentform/before_submission_note_deleted` (note ID, note) before the delete and `fluentform/submission_note_deleted` (note ID, entry ID) after it.
