Get all forms

GET /api/v1/form

Headers

  • X-PLANNR-ACCOUNT-UUID string

Query parameters

  • filter[uuid] string

    Filter by a comma separated list of UUIDs.

  • filter[live] boolean

    Get forms that have or have not been published.

  • filter[visibility] string

    Get forms of this visibility value, Available types are 'hidden', 'public' and 'private'

  • filter[title] string

    Get forms with a title that match this filter.

  • filter[created_after] string

    Date to filter when the record was created after.

  • filter[created_before] string

    Date to filter when the record was created before.

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at, title]. Negative sign to denote DESC. Defaults to '-created_at'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • uuid string
      • created_at string
      • updated_at string
      • title string
      • description string
      • live boolean
      • visibility string
      • sections object
        Hide sections attributes Show sections attributes object
        • uuid string
        • created_at string
        • updated_at string
        • section string
        • title string
        • help_text string
        • caption string
        • type string
        • required boolean
        • position integer
        • selection_options array[string]
        • target_field string
        • key string
        • linked_question string
        • linked_primary boolean
      • allowed_hosts array[string]
      • draft_submissions_count integer
      • submitted_submissions_count integer
      • create_client boolean
      • client_type string
GET /api/v1/form
curl \
 --request GET 'https://api.plannrcrm.com/api/v1/form' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "data": [
    {
      "live": true,
      "uuid": "ecb098ce-3e1f-4ec1-a25d-8dc1fd7298e7",
      "title": "Annual Catchup 2022",
      "sections": {
        "key": "what_is_your_name",
        "type": "string",
        "uuid": "5bb205fa-1dfc-4058-bd6f-811b872ea785",
        "title": "What is your name?",
        "caption": "Your full legal name",
        "section": "App\\Http\\Resources\\FormSectionResource",
        "position": 1,
        "required": true,
        "help_text": "Gareth",
        "created_at": "2025-06-25T15:10:43+01:00",
        "updated_at": "2025-06-25T15:10:43+01:00",
        "target_field": "name",
        "linked_primary": true,
        "linked_question": "App\\Http\\Resources\\FormBuilder\\LinkedFormQuestionResource",
        "selection_options": [
          "option 1",
          "option 2"
        ]
      },
      "created_at": "2025-06-25T15:10:43+01:00",
      "updated_at": "2025-06-25T15:10:43+01:00",
      "visibility": "public",
      "client_type": "client",
      "description": "This is the annual catchup form for 2022",
      "allowed_hosts": [
        "domain.com",
        "subdomain.domain.com"
      ],
      "create_client": true,
      "draft_submissions_count": 5,
      "submitted_submissions_count": 5
    }
  ]
}