Developers
REST API
Read submissions and manage forms from your own code with an API token. The full reference is an OpenAPI document.
Besides the public submit endpoint, Lazyform has a REST API for your own code: list and read submissions, delete them, and create and manage forms. It's the same API the dashboard uses, so everything you can do there you can do here.
Authentication
Create an API token in the dashboard (Settings, then API tokens) and send it as a bearer token:
curl https://lazyform-api.xvelopers.com/api/v1/forms \
-H "Authorization: Bearer YOUR_API_TOKEN"An API token can read your submissions. Keep it on your server and never put it in a web page. The access key is the only Lazyform secret that's meant to be public.
Reference
The complete, always up-to-date reference is an OpenAPI document:
Load it into Postman, Insomnia or any OpenAPI viewer, or generate a typed client from it.
Errors
Errors use the same shape as the submit endpoint, with a stable code:
{ "success": false, "error": { "code": "not_found", "message": "We couldn't find that." } }| Status | Code | Meaning |
|---|---|---|
| 401 | unauthorized |
Missing or invalid token |
| 403 | forbidden |
The token can't access this |
| 403 | plan_required |
This needs a higher plan |
| 404 | not_found |
No such form or submission |
| 422 | validation_failed |
Some fields need fixing |
| 429 | rate_limited |
Too many requests; slow down |
Plans
Reading submissions through the API is part of the Pro and Business plans. See pricing.
Prefer no code?
- Push each submission to your own URL instead of polling: webhooks.
- Let an AI assistant manage your forms: MCP server.