Admin APISubmissions

List all submissions

GET{handle}.blutui.com/admin/api/forms/{form_id}/submissions

List all submissions for a form in a project.

Query parameters

limitinteger | default: 10

Limit the number of objects to return, ranging between 1 and 20.

pageinteger | default: 1

The current page used to display the pagination results.

expandstring[]

Expand the response for the given items. Expand array accepts list.

Response

import Blutui from 'blutui'

const blutui = new Blutui('ey....')

blutui.project('one').admin.submissions.list('form-id')
JSON Response
{
  "object": "list",
  "data": [
    {
      "id": "9cc276b2-3f30-4332-bda4-f4d2abb21d08",
      "object": "form_submission",
      "body": {
        "name": "John Doe",
        "email": "john@blutui.test"
      },
      "form": "99c64885-937e-4538-8a2b-b67ee1f55778",
      "is_spam": false,
      "created_at": "2024-08-14T11:04:49+12:00",
      "updated_at": "2024-08-14T11:04:49+12:00"
    },
    {...},
    {...}
  ],
  "meta": {
    "has_more": false,
    "current_page": 1,
    "from": 1,
    "to": 3,
    "total": 3,
    "per_page": 10,
    "last_page": 1
  }
}
objectstring

This will always contain list for this endpoint.

dataarray

An array of up to limit form submission resources. If no form submissions are available, an empty array is returned.

metaobject

Additional information about the list.

Last updated on