List all forms

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

List all forms for 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.forms.list()
JSON Response
{
  "object": "list",
  "data": [
    {
      "id": "0195b657-82dd-718a-8092-9ea39771ec83",
      "object": "form",
      "name": "Contact",
      "handle": "contact",
      "template": "forms/contact.canvas",
      "email_from": null,
      "email_to": null,
      "email_cc": null,
      "email_bcc": null,
      "email_reply_to": null,
      "store_submissions": true,
      "detects_spam": true,
      "spam_score": 65,
      "fields": [],
      "created_at": "2023-08-14T16:49:46+12:00",
      "updated_at": "2023-08-14T16:49:46+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 resources. If no forms are available, an empty array is returned.

metaobject

Additional information about the list.

Last updated on