The REST API lets your own code work with your forms and their submissions: create, read and publish forms, search submissions, tag them or mark them as spam. Requests and answers are JSON over HTTPS. By the end of this guide you’ll have listed your forms and read a form’s latest submissions from the command line.
Authenticate
- Create an API key in Account menu » Profile » API keys, as described in Create an API key.


- Send it with every request in the
Authorizationheader, asBearerand the key. - When a request creates, edits, publishes or deletes a form, also send the
Forminal-Ackheader with the acknowledgement code from llms.txt.
Every address starts with the app’s address, the one you see in your browser when you use the builder. In the examples below, put that address, with no slash at the end, in place of APP_ADDRESS, and your key in AW_API_KEY:
export AW_APP="APP_ADDRESS"
export AW_API_KEY="af_..."
Apps that act for other people can use OAuth instead of a key. That’s how the Zapier and Make apps and AI assistants connect; the reference lists the addresses it uses.
Make your first request
List your forms:
curl "$AW_APP/api/forms" -H "Authorization: Bearer $AW_API_KEY"
The answer is {"forms": [...]}, where each item holds the whole form and its status. A form’s ID is also in the builder’s address, after /forms/. With it, fetch the latest submissions, 10 to a page:
curl "$AW_APP/api/forms/FORM_ID/submissions?pageSize=10" -H "Authorization: Bearer $AW_API_KEY"
That returns rows, the total that matched, counts with responses (real submissions) and spam, and the page and pageSize. Each row has its id, createdAt, tags, isSpam, readAt, meta with the origin page, browser and UTM values (meta.utm), and data: the answers, keyed by field ID. To page and filter:
pagestarts at 1, andpageSizeis 10 to 200, 50 by default.- Newest first by default.
sorttakessubmittedAt, a field ID, or one ofutm_source,utm_medium,utm_campaign,utm_termandutm_content, anddirtakesascordesc. qsearches answers and UTM values, andfromandtoare timestamps in milliseconds.tagsis a comma-separated list of up to 10, and a row has to carry all of them.utmfilters by UTM values as a JSON object, such asutm={"campaign":["spring_sale"]}, URL-encoded in the request. Each parameter takes 1 to 20 values, and a row matches when it has any of them. With several parameters, a row has to match every one.(none)keeps rows without that parameter.unread=truekeeps unopened rows,spam=truereads the spam folder, andpaymentStatuskeeps rows whose payment has that status.
Read the reference
The API reference lists every endpoint with its fields, answers and examples.


Beyond listing, you can create a draft with POST /api/forms, replace a form with PATCH, publish it with POST /api/forms/FORM_ID/publish, check a form without saving it with POST /api/forms/FORM_ID/validate, edit, tag or flag a submission, list a form’s integrations, and manage workspaces. The calls that need the Forminal-Ack header are POST /api/forms, POST /api/forms/import, PATCH and DELETE /api/forms/FORM_ID, POST /api/forms/FORM_ID/publish, POST /api/forms/FORM_ID/revisions/REVISION_ID/restore and POST /api/workspaces/WORKSPACE_ID/forms. Publishing a form looks like this:
curl -X POST "$AW_APP/api/forms/FORM_ID/publish" -H "Authorization: Bearer $AW_API_KEY" -H "Forminal-Ack: <code from llms.txt>"
To write a whole form as JSON, see The form JSON schema.
Good to know
- Every error comes back as
{"error": {"code": "...", "message": "..."}}, with a code such asUNAUTHORIZED,NOT_FOUND,VALIDATION,RATE_LIMITEDorINSTRUCTIONS_NOT_ACKNOWLEDGED. A missing or wrong key gets401, and a write call without the rightForminal-Ackcode gets428andINSTRUCTIONS_NOT_ACKNOWLEDGED. - Each key can make 100 requests a minute. Past that you get
429and aRetry-Afterheader. - Replacing a form sends the whole form. If the body leaves out fields the form has, the call is refused with
REPLACE_NOT_CONFIRMEDunless you add"replace": true. - Answers in
dataare raw values, such as option IDs for choices, while the submissions table shows labels. - A form with a CAPTCHA turned on can only be submitted from a browser. More is on the REST API page.
Frequently asked questions
Why does my request get a 428 error?
The call creates, edits, publishes or deletes a form, and the Forminal-Ack header is missing or has the wrong code. Read the acknowledgement code from llms.txt and send it with every write call.
Why does replacing a form fail with REPLACE_NOT_CONFIRMED?
PATCH replaces the whole form, and your body leaves out fields the form already has. Send the full form, or set replace to true in the body if you do mean to delete those fields.
Why do choice answers come back as IDs instead of labels?
The data in each submission holds raw values, such as option IDs for choices. The submissions table and exports show the labels.
Can I get new submissions without polling the API?
A webhook sends each new submission to a URL you choose, and Zapier and Make can pass submissions on to other apps.
Why can’t my script submit answers to a form?
The form probably has a CAPTCHA turned on. A form with a CAPTCHA can only be submitted from a browser that passed the check, so scripts are turned away.
Can my app act for other Forminal users?
Yes, through OAuth instead of an API key. That’s how the Zapier and Make apps and AI assistants connect, and the API reference lists the addresses OAuth uses.