Scope forms:read for reads · forms:write for changes
Operations
| GET | /v1/forms | List — see list |
| POST | /v1/forms | Create — see create |
| GET | /v1/forms/{id} | Read — see get |
| PATCH | /v1/forms/{id} | Update — see update |
| DELETE | /v1/forms/{id} | Delete — see delete |
Minimal create
curl -X POST https://api2.djcsystem.com/v1/forms \
-H "Authorization: Bearer $DJC_TOKEN" -H "Content-Type: application/json" \
-d '{ "name": "…" }'Fields
Fields you may send on create. Updatable marks fields accepted by PATCH. Anything not listed is server-owned or hidden.
| Field | Type | On create | Updatable |
|---|---|---|---|
name | string | required | yes |
description | string | optional | yes |
fields | array<object> | optional | yes |
Filters & sorting
| Filterable | none |
| Sortable | date |
| Default order | id order |
Child: submissions
Form submissions (read-only).
| GET | /v1/forms/{id}/submissions |