# List forms `GET /api/v1/forms` Lists form records in the workspace. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Forms → Read**. ## Query parameters - `q` (string) — Search by form name. - `length` (integer) — Number of records to return. - `start` (integer) — Zero-based offset. - `draw` (string) — Optional request marker echoed in the response. - `sort` (string) — Sort by id, tsc, or tsu. Prefix the field name with a minus sign for descending order. - `order` (string) — Direction for unprefixed sort fields. Use asc or desc. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --get \ --url "https://api.asdincloud.com/api/v1/forms" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --data-urlencode "length=25" \ --data-urlencode "q=tryout" ``` ## Response **200 OK** Returns records in `data`, the counts before and after text search, and the echoed `draw` marker. Example with fictional data and selected fields. ```json { "status": "success", "data": [ { "id": 21, "name": "Tryout registration", "title": "Register for a tryout", "editable": 1, "is_in_use": false, "common_fields": null, "user_fields": { "form": { "sections": [ { "id": "sec_tryouts", "fields": [ { "id": "fld_availability", "type": "text", "name": "availability", "label": "Availability" } ] } ] } }, "cloned_from_id": null, "tsc": 1794564000, "tsu": 1794564000 } ], "records_total": 1, "records_filtered": 1, "draw": null } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission.