v1

latestOpenAPI 3.0.32026-07-14490228.1 KB

Get Webforms

This endpoint retrieves all webforms available to the client.

get/webforms

Query parameters

pageinteger

The current page of results to retrieve.

per_pageinteger

The number of results to pull back. Allowed values: 25, 50, 100, -1 (for all).

sortstring

The order for record sorting. Allowed values are asc and desc.

orderstring

The field for sorting records. Allowed values: id, name, scope, type, length, status.

searchstring

A value to search the name field by for the request.

search_statusesstring[]

The statuses to filter by. Allowed values are active and inactive.

search_sequence_idsinteger[]

The associated sequence IDs to filter by.

Response

200

Example response

{
  "data": [
    {
      "id": 1,
      "name": "Test Webform 1",
      "guid": "8ca22d60-a1cb-11eb-9912-397dd439eff8",
      "status": "active",
      "button_text": "Submit",
      "captcha_type": "none",
      "sequence_id": 1,
      "success_type": "send_message",
      "success_message": "Thanks!  You'll receive a call shortly from us running through the demo!",
      "sequence": {
        "id": 1,
        "name": "Test Sequence 1",
        "status": "active"
      }
    }
  ],
  "meta": {
    "total": 1,
    "count": 1,
    "page": 1,
    "pages": 1,
    "per_page": 25,
    "order": "id",
    "sort": "DESC"
  }
}