Reference
API blocks
Visual reference of every reusable API primitive. Compose into endpoint pages.
ApiEndpoint
HTTP method pill + path with copy-to-clipboard. Method auto-tones (GET=info, POST=success, etc).
GEThttps://api.formstep.io/v1/forms
POSThttps://api.formstep.io/v1/forms
PUThttps://api.formstep.io/v1/forms/{id}
PATCHhttps://api.formstep.io/v1/forms/{id}
DELETEhttps://api.formstep.io/v1/forms/{id}Deprecated
ApiSection
Wraps a sub-section with optional title + auth badge.
List forms
API keyGEThttps://api.formstep.io/v1/forms
Admin: purge submissions
Admin onlyDELETEhttps://api.formstep.io/v1/admin/submissions
Public health check
PublicGEThttps://api.formstep.io/v1/health
ApiParams + ApiParam
Parameter list. Each param has name, type, required/optional badge, optional default, optional enum chips.
Path params
idstringrequired
idstringrequired
Form ID, e.g.
frm_01HQ9X....
Body params4
namestringrequired
namestringrequired
Form name.
statusenumoptionaldefault: draft
statusenumoptionaldefault: draft
Initial publish state.
draftlivearchivedfieldsField[]optionaldefault: []
fieldsField[]optionaldefault: []
Array of field definitions.
legacy_idstringdeprecated
legacy_idstringdeprecated
Use
id instead.
ApiResponse
Status pill auto-tones (2xx success, 3xx info, 4xx warning, 5xx error). Body via slot — typically a CodeBlock.
200OK
json
{ "ok": true }201Created
json
{ "id": "frm_..." }400Bad request
json
{ "error": { "message": "Invalid body" } }500Internal error
json
{ "error": { "message": "Internal server error" } }CodeTabs
Tab switcher for sibling code examples. Slot names match each tab's value.
bash
curl https://api.formstep.io/v1/pingts
await fetch('https://api.formstep.io/v1/ping')python
import requests; requests.get('https://api.formstep.io/v1/ping')