Developer documentation
Formzed API
Work with Formzed from your own code: manage forms, send and read responses, make prefilled links, read payments, ask AI about your responses, run AI Research, and get webhooks when something happens.
What you can do
One REST API with JSON in and out. Every resource has its own reference section.
Three ways to connect
Pick by where your code runs.
1. Server API
- Runs in
- Your backend, scripts, Zapier, Make or n8n
- API key
- Yes. Keep it secret, on your server.
- Use it for
- Reading and writing forms, responses, payments and more from your own systems.
2. Your own website form
- Runs in
- The visitor's browser, on your site
- API key
- No
- Use it for
- A form you design yourself, with no server code.
3. Embed the hosted form
- Runs in
- An iframe on your page
- API key
- No
- Use it for
- The full Formzed form. Uploads, payments and bookings work.
API v1 base URL (API key)
https://api.formzed.com/v1Website forms (no key)
/forms/submitLegacy submit (still works)
/submit-responseBuild with AI
Describe it. Your coding agent builds it.
Claude Code and Codex read these docs and write the integration in your own project, with keys, errors and webhooks handled the right way. One command to start.
$ claude "Read https://www.formzed.com/api-docs.md and add a Formzed API v1 integration to this project that [what it should do]. Keep the API key in the FORMZED_API_KEY environment variable and never in browser code. Handle errors by their code, retry RATE_LIMITED after Retry-After, and verify webhook signatures."Needs Claude Code installed. Replace [what it should do] with your goal before you run it.
Getting started
Quickstart
Find a form and send your first response with the server API.
Create an API key
In Dashboard → API, create a key and choose what it may do (for this quickstart: Read only plus Submit responses, or Full access). The full key is shown once: store it in an environment variable. Keys start with fz_.
Find the form and field ids
GET /v1/forms lists your forms. GET /v1/forms/:id returns its fields: each id is an answer key. The form must be published to take responses.
Submit a response
POST the answers to /v1/forms/:id/responses. A 201 reply with an id means the response is saved and the form's automations run.
# 1. Your forms and their ids
curl "https://api.formzed.com/v1/forms?status=published" \
-H "X-API-Key: $FORMZED_API_KEY"
# 2. One form's questions: use fields[].id as answer keys
curl "https://api.formzed.com/v1/forms/FORM_ID" \
-H "X-API-Key: $FORMZED_API_KEY"
# 3. Submit a response
curl -X POST "https://api.formzed.com/v1/forms/FORM_ID/responses" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "data": { "field-1712345678901": "Jane Cooper", "field-1712345678902": "jane@example.com" } }'Getting started
Authentication and keys
Every API v1 request needs a key, in the X-API-Key header or as a Bearer token. Create and manage keys in Dashboard → API.
X-API-Key: fz_your_api_key
# or, the same key as a Bearer token
Authorization: Bearer fz_your_api_keyFORMZED_API_KEY and never commit it to a repository. Formzed stores only a hash of each key, so a lost key can't be shown again: rotate it. If a key leaks, turn it off in Dashboard → API right away.What a key can reach
A key acts as the user who created it.
- Forms: the owner's own forms and the team forms they can see in the dashboard. Other accounts' forms answer 404, as if they didn't exist.
- Changes (editing a form, editing or deleting responses, erasure) need edit rights: the form's owner, the organization's owner or an admin, or a member of the form's workspace for shared forms. Team viewers can only read (403 FORBIDDEN). Only the owner can publish.
- AI Research: studies in the workspaces the owner is in. Webhooks: the owner's own.
- A key limited to one form can only use that form: it can't create or copy forms (
KEY_FORM_RESTRICTED), can't use AI Research (KEY_RESTRICTED), and its webhooks stay on that form. - Plan, limits and AI credits are the owner's (for team plans, the organization's).
Permissions (scopes)
Each key has a set of permissions (scopes). A request without the needed one answers 403 INSUFFICIENT_SCOPE with required_scope. Keys made before API v1 have responses:write only.
| Scope | Allows | Endpoints |
|---|---|---|
responses:read | Read responses and their uploaded files. | GET /v1/forms/:id/responses, GET /v1/responses/:id |
responses:write | Submit, import and edit responses. | POST /v1/forms/:id/responses, POST /v1/forms/:id/responses/import, PATCH /v1/responses/:id, legacy POST /submit-response |
responses:delete | Delete responses and erase one person's data by email. | DELETE /v1/responses/:id, POST /v1/erasure |
forms:read | List forms, read their questions and prefilled links. | GET /v1/forms, GET /v1/forms/:id, GET /v1/forms/:id/prefill-links |
forms:write | Create, edit, publish and copy forms; create and delete prefilled links. | POST /v1/forms, PATCH /v1/forms/:id, POST /v1/forms/:id/publish, POST /v1/forms/:id/duplicate, POST /v1/forms/:id/prefill-links, DELETE /v1/prefill-links/:token |
payments:read | See payments taken through your forms. | GET /v1/payments, GET /v1/payments/:id |
ai | Ask questions about responses and get summaries. Uses the key owner's AI credits. | POST /v1/ai/ask, POST /v1/ai/summary |
interviews:read | See AI Research studies, reports, interviews and transcripts, and evaluation studies and their results. | GET /v1/studies, GET /v1/studies/:id, GET /v1/studies/:id/report, GET /v1/studies/:id/interviews, GET /v1/interviews/:id, GET /v1/evaluations, GET /v1/evaluations/:id, GET /v1/evaluations/:id/summary, GET /v1/evaluations/:id/results |
interviews:write | Create AI Research studies (as drafts); create evaluation studies, upload their files and items, and publish them. | POST /v1/studies, POST /v1/evaluations, POST /v1/evaluations/:id/media, POST /v1/evaluations/:id/items, POST /v1/evaluations/:id/publish |
webhooks | Add, change, test and remove webhook endpoints. | Every /v1/webhooks endpoint |
Presets
Pick one when you create or edit a key.
| Preset | Scopes | Good for |
|---|---|---|
| Submit only | responses:write | Sending responses from a server or a no-code tool. Can't read anything back. |
| Read only | responses:read forms:read payments:read interviews:read | Reporting, exports and syncs. Can't change anything. |
| Full access | All ten scopes | Everything, including deleting, AI and webhooks (Zapier and Make need this). |
| Custom | Any you pick | Exactly what one integration needs. |
Key settings
Set these when you create a key; edit them later in Dashboard → API.
| Setting | What it does |
|---|---|
| Name | A label so you know where the key is used. |
| Permissions | The scopes above. |
| Form access | All forms the owner can see, or one form. |
| IP allowlist | Optional. Exact IPv4 or IPv6 addresses, or IPv4 ranges in CIDR form (203.0.113.0/24). Other addresses get 403 IP_NOT_ALLOWED. Empty means any IP. |
| Expiry | Never, 30 days, 90 days or 1 year. After it, the key gets 401 API_KEY_EXPIRED. |
| Daily cap | 100 to 10,000 counted requests per day for this key. Resets at 00:00 UTC. When used up: 429 KEY_DAILY_LIMIT. |
Rotating a key
Replace a key without downtime.
- 1
Rotate in Dashboard → API
Choose a grace period: 1 hour, 24 hours or 7 days. You get a new key with the same permissions, form access, IP allowlist, cap and expiry. - 2
Deploy the new key
Both keys work during the grace period. - 3
The old key stops
After the grace period the old key answers401 API_KEY_ROTATED.
Use one key per integration
Usage is shown per key, and you can turn one off without breaking the others.
Give each key only the scopes it needs
A leaked Submit only key can't read or delete anything.
Limit a key to one form when you can, and add an IP allowlist for fixed servers
If that key leaks, it can only reach that form, from those addresses.
Getting started
Conventions
The rules every endpoint follows.
| Topic | Rule |
|---|---|
| Base URL | https://api.formzed.com/v1 |
| Format | JSON in and out. Send Content-Type: application/json with a body (2 MB at most). |
| Times | ISO 8601. Times Formzed returns are UTC, like 2026-10-13T18:02:45.123456+00:00. |
| Ids | UUIDs, except field ids (like field-1712345678901) and prefilled link tokens. |
| One item | { "data": { ... } }. Created items answer 201. Deleted items answer { "data": { "id": "...", "deleted": true } }. |
| Lists | { "data": [ ... ], "next_cursor": "..." | null }, newest first. ?limit= 1 to 200 (default 50); pass next_cursor as ?cursor= for the next page. |
| Errors | { "error": "<message>", "code": "<CODE>", ... } with an HTTP status. Branch on code. |
| Request id | Every authenticated reply has an X-Request-Id header. Quote it when you contact support. |
| Retries | Send an Idempotency-Key header with every POST: a retry with the same key gets the first answer back instead of creating a second item. See Retrying safely. |
| CORS | The API answers browsers too (the playground below uses that), but keys must still stay on servers. |
Response headers
Accounts with unlimited API use don't get the limit headers.
| Header | Meaning |
|---|---|
X-Request-Id | A unique id for this request. |
X-RateLimit-Limit | Requests per minute per key on your plan. |
X-Monthly-Limit | This month's API requests: the plan's allowance plus unused API packs, for all keys. |
X-Monthly-Remaining | API requests left this month after this one. |
Idempotent-Replayed | true when this is the stored answer to an earlier request with the same Idempotency-Key. |
Retry-After | Seconds to wait. Sent with RATE_LIMITED (60), KEY_DAILY_LIMIT (until 00:00 UTC) and MONTHLY_LIMIT (until the 1st). |
Paging through a list
// Every list endpoint pages the same way: follow next_cursor until it is null.
async function allResponses(formId) {
const all = [];
let cursor = null;
do {
const url = new URL(`https://api.formzed.com/v1/forms/${formId}/responses`);
url.searchParams.set("limit", "200");
if (cursor) url.searchParams.set("cursor", cursor);
const res = await fetch(url, { headers: { "X-API-Key": process.env.FORMZED_API_KEY } });
const body = await res.json();
if (!res.ok) throw new Error(`Formzed ${res.status} ${body.code}: ${body.error}`);
all.push(...body.data);
cursor = body.next_cursor;
} while (cursor);
return all;
}Retrying safely: Idempotency-Key
Zapier, Make and flaky networks retry requests. Add an Idempotency-Key header (any unique string up to 255 characters, like a UUID or your own order id) to a POST, and Formzed runs it once: a repeat with the same key and the same body within 24 hours gets the first answer back, with Idempotent-Replayed: true, and doesn't count as a new request.
| Case | What you get |
|---|---|
| First request with a key | Runs normally. The answer is stored for 24 hours (server errors aren't, so you can retry those). |
| Same key, same request | The stored answer, same status and body, plus Idempotent-Replayed: true. |
| Same key, different body or endpoint | 422 IDEMPOTENCY_KEY_REUSED: use a new key for each new request. |
| Same key while the first is still running | 409 IDEMPOTENCY_IN_PROGRESS with Retry-After: 2. |
| Key longer than 255 characters | 400 INVALID_IDEMPOTENCY_KEY. |
Keys belong to the API key that sent them, so two integrations can't collide. GET, PATCH and DELETE are already safe to repeat and ignore the header.
curl -X POST "https://api.formzed.com/v1/forms/6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b/responses" -H "X-API-Key: $FORMZED_API_KEY" -H "Content-Type: application/json" -H "Idempotency-Key: order-1001" -d '{"data": {"full-name": "Ada Lovelace", "email": "ada@example.com"}}'
# Sent again with the same key (a retry): the first answer comes back,
# with "Idempotent-Replayed: true", and no second response is saved.API reference
Forms
Read forms and their questions, create and edit drafts, publish, and copy.
/v1/formsList formsforms:readGET/v1/forms/:idGet a formforms:readPOST/v1/formsCreate a formforms:writePATCH/v1/forms/:idUpdate a form's draftforms:writePOST/v1/forms/:id/publishPublish a formforms:writePOST/v1/forms/:id/duplicateCopy a formforms:writeThe form object
As returned by GET /v1/forms (list items) and every form endpoint (with fields).
| Field | Type | Description |
|---|---|---|
| id | uuid | The form id. |
| title, description | string | description may be null. |
| status | string | published or draft. |
| slug, url | string | The custom link name (or null) and the public form address. |
| edit_url | string | The form in the Formzed builder, to change its design, logic and other settings (opens for someone signed in who can edit it). |
| created_at, updated_at, published_at | ISO 8601 | published_at is null until the first publish. |
| fields | Field[] | Single form only. Each: { id, type, label, required, options?, description?, placeholder? }. |
| draft_fields | Field[] | Single form only, when the draft differs from the published version. |
List forms
/v1/formsforms:readstatusstringpublishedordraft. Leave out for both.limitintegerItems per page, 1 to 200. Default 50.cursorstringThenext_cursorof the previous page.
curl "https://api.formzed.com/v1/forms?status=published&limit=20" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": [
{
"id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"title": "Event sign-up",
"description": "Register for the October meetup.",
"status": "published",
"slug": "event-sign-up",
"url": "https://www.formzed.com/form/event-sign-up",
"created_at": "2026-10-01T09:12:44.512345+00:00",
"updated_at": "2026-10-02T16:03:10.118204+00:00",
"published_at": "2026-10-02T16:03:10.118204+00:00"
}
],
"next_cursor": null
}Get a form
fields is the published version (the draft if it was never published). When the draft has unpublished changes, draft_fields shows the draft too. Use the field ids as answer keys./v1/forms/:idforms:readcurl "https://api.formzed.com/v1/forms/FORM_ID" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"title": "Event sign-up",
"description": "Register for the October meetup.",
"status": "published",
"slug": "event-sign-up",
"url": "https://www.formzed.com/form/event-sign-up",
"created_at": "2026-10-01T09:12:44.512345+00:00",
"updated_at": "2026-10-02T16:03:10.118204+00:00",
"published_at": "2026-10-02T16:03:10.118204+00:00",
"fields": [
{
"id": "field-1712345678901",
"type": "text",
"label": "Name",
"required": true,
"placeholder": "Jane Cooper"
},
{
"id": "field-1712345678902",
"type": "email",
"label": "Email",
"required": true
},
{
"id": "field-1712345678903",
"type": "select",
"label": "Ticket",
"required": false,
"options": ["Standard", "VIP"]
}
]
}
}Create a form
/v1/formsforms:writetitlerequiredstringUp to 200 characters.descriptionstring | nullUp to 5,000 characters.fieldsField[]The questions, in order. Up to 300. See the field properties below.
Field properties
Only these properties are accepted; others are dropped. Payment, appointment and scheduling settings and styling are set in the builder.
| Property | Type | Notes |
|---|---|---|
| id | string | Optional. 1 to 64 letters, digits, - or _. Generated when left out (field-<timestamp><n>). |
| type | string | Required. text, textarea, email, number, tel, date, select, radio, checkbox, image_choice, rating, conjoint, single_checkbox, terms, signature, file, image, image_upload, video_answer, address, appointment, scheduling, table, calculated, and the display blocks divider, statement, embed, video. Payment fields are added in the builder only. |
| label | string | The question. Required except for display blocks. Up to 1,000 characters. |
| required | boolean | Default false. |
| placeholder, description | string | Up to 300 and 2,000 characters. |
| options | string[] | Choice fields (select, radio, checkbox, image_choice): 1 to 200 unique options. Required for them. |
| optionWeights | object | Choice fields: option → points, for scores and calculated fields. |
| images | string[] | image_choice: one image URL per option. |
| min, max | number | Limits for number and similar fields. |
| maxFileSize, allowedFileTypes | number, string[] | Upload fields: size in MB (1 to 50); any of pdf, docs, images, all. |
| videoMaxDurationSec | number | video_answer: 15 to 300 seconds. |
| embedUrl, videoUrl, videoCaption | string | embed and video blocks. |
| termsContent, termsFormat | string | terms: the text, and paragraph or list. |
| tableColumns | object[] | table: up to 20 columns { id, name, type, options?, currencySymbol?, quantityColumnId?, priceColumnId? }; type is text, number, select, currency or line_total. |
| calc | object | calculated: { expression, precision?, blank?, min?, max?, bands?, hidden? }. hidden: true keeps the score from respondents. A sent calc replaces the saved one, except that a hidden score stays hidden when hidden is left out; send false to show it. |
| conjointSettings | object | conjoint (choice-based; publishing needs a paid AI Research plan): { attributes: [{ name, levels, price? }], tasks, concepts, none?, noneLabel? }. 2 to 6 attributes with 2 to 7 levels each, at most one marked as the price; 3 to 15 screens; 2 to 4 products a screen. Required for conjoint. Answers come back as { v, sig, picks }: the design version and the pick on each screen (-1 for None). |
| conditions | object[] | Show the field only when these match: { fieldId, operator, value?, logic? }. Operators: equals, not_equals, contains, not_contains, greater_than, less_than, is_empty, is_not_empty. They must point at other fields of the form. |
curl -X POST "https://api.formzed.com/v1/forms" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Event sign-up",
"description": "Register for the October meetup.",
"fields": [
{
"type": "text",
"label": "Name",
"required": true
},
{
"type": "email",
"label": "Email",
"required": true
},
{
"type": "select",
"label": "Ticket",
"options": ["Standard", "VIP"]
}
]
}'{
"data": {
"id": "a7d3e9f1-2b4c-4d6e-8f0a-1b3c5d7e9f20",
"title": "Event sign-up",
"description": "Register for the October meetup.",
"status": "draft",
"slug": null,
"url": "https://www.formzed.com/form/a7d3e9f1-2b4c-4d6e-8f0a-1b3c5d7e9f20",
"created_at": "2026-10-14T10:15:02.331846+00:00",
"updated_at": "2026-10-14T10:15:02.331846+00:00",
"published_at": null,
"fields": [
{
"id": "field-17604369023310",
"type": "text",
"label": "Name",
"required": true
},
{
"id": "field-17604369023311",
"type": "email",
"label": "Email",
"required": true
},
{
"id": "field-17604369023312",
"type": "select",
"label": "Ticket",
"required": false,
"options": ["Standard", "VIP"]
}
]
}
}Update a form's draft
/v1/forms/:idforms:writetitlestringUp to 200 characters.descriptionstring | nullUp to 5,000 characters.fieldsField[]Replaces the draft's whole question list, so send every field you want to keep. A field sent with the id and type of a saved field starts from the saved one: properties you leave out stay,nullremoves one, and builder-only settings (payment, styling) are kept. A form can have only one Payment question: a list that keeps more than one (forms made before that rule) is refused withVALIDATION_FAILED. Merge them in the builder, or leave the extra ones out to delete them.
curl -X PATCH "https://api.formzed.com/v1/forms/FORM_ID" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Event sign-up (October)",
"fields": [
{
"id": "field-1712345678901",
"type": "text",
"label": "Full name",
"required": true
},
{
"id": "field-1712345678902",
"type": "email",
"label": "Email",
"required": true
},
{
"id": "field-1712345678903",
"type": "select",
"label": "Ticket",
"options": ["Standard", "VIP", "Student"]
}
]
}'{
"data": {
"id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"title": "Event sign-up (October)",
"description": "Register for the October meetup.",
"status": "published",
"slug": "event-sign-up",
"url": "https://www.formzed.com/form/event-sign-up",
"created_at": "2026-10-01T09:12:44.512345+00:00",
"updated_at": "2026-10-14T10:20:44.902113+00:00",
"published_at": "2026-10-02T16:03:10.118204+00:00",
"fields": [
{
"id": "field-1712345678901",
"type": "text",
"label": "Name",
"required": true,
"placeholder": "Jane Cooper"
},
{
"id": "field-1712345678902",
"type": "email",
"label": "Email",
"required": true
},
{
"id": "field-1712345678903",
"type": "select",
"label": "Ticket",
"required": false,
"options": ["Standard", "VIP"]
}
],
"draft_fields": [
{
"id": "field-1712345678901",
"type": "text",
"label": "Full name",
"required": true,
"placeholder": "Jane Cooper"
},
{
"id": "field-1712345678902",
"type": "email",
"label": "Email",
"required": true
},
{
"id": "field-1712345678903",
"type": "select",
"label": "Ticket",
"required": false,
"options": ["Standard", "VIP", "Student"]
}
]
}
}Publish a form
/v1/forms/:id/publishforms:writecurl -X POST "https://api.formzed.com/v1/forms/FORM_ID/publish" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"title": "Event sign-up",
"description": "Register for the October meetup.",
"status": "published",
"slug": "event-sign-up",
"url": "https://www.formzed.com/form/event-sign-up",
"created_at": "2026-10-01T09:12:44.512345+00:00",
"updated_at": "2026-10-02T16:03:10.118204+00:00",
"published_at": "2026-10-14T10:22:05.117302+00:00",
"fields": [
{
"id": "field-1712345678901",
"type": "text",
"label": "Name",
"required": true,
"placeholder": "Jane Cooper"
},
{
"id": "field-1712345678902",
"type": "email",
"label": "Email",
"required": true
},
{
"id": "field-1712345678903",
"type": "select",
"label": "Ticket",
"required": false,
"options": ["Standard", "VIP"]
}
]
}
}Copy a form
VALIDATION_FAILED, with the reason). No body./v1/forms/:id/duplicateforms:writecurl -X POST "https://api.formzed.com/v1/forms/FORM_ID/duplicate" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "d2e4f6a8-1b3c-4d5e-9f7a-2c4e6a8b0d1f",
"title": "Copy of Event sign-up",
"description": "Register for the October meetup.",
"status": "draft",
"slug": null,
"url": "https://www.formzed.com/form/d2e4f6a8-1b3c-4d5e-9f7a-2c4e6a8b0d1f",
"created_at": "2026-10-14T10:25:31.004417+00:00",
"updated_at": "2026-10-14T10:25:31.004417+00:00",
"published_at": null,
"fields": [
{
"id": "field-1712345678901",
"type": "text",
"label": "Name",
"required": true,
"placeholder": "Jane Cooper"
},
{
"id": "field-1712345678902",
"type": "email",
"label": "Email",
"required": true
},
{
"id": "field-1712345678903",
"type": "select",
"label": "Ticket",
"required": false,
"options": ["Standard", "VIP"]
}
]
}
}API reference
Responses
Submit, import, read, edit and delete responses, and erase one person's data.
/v1/forms/:id/responsesList a form's responsesresponses:readGET/v1/responses/:idGet a responseresponses:readPOST/v1/forms/:id/responsesSubmit a responseresponses:writePOST/v1/forms/:id/responses/importImport responsesresponses:writePATCH/v1/responses/:idEdit a responseresponses:writeDELETE/v1/responses/:idDelete a responseresponses:deletePOST/v1/erasureErase a person's data by emailresponses:deleteThe response object
| Field | Type | Description |
|---|---|---|
| id, form_id | uuid | The response and its form. |
| submitted_at | ISO 8601 | When it was submitted (the original time for imports). |
| is_draft | boolean | true for unfinished drafts (only with include_drafts=true). |
| answers | object | Answers keyed by field id. File answers are links that open for 24 hours. |
| answers_by_label | object | The same answers keyed by question label. Address and appointment answers become an object of their parts; a repeated label gets the field id added. |
| computed | object | Calculated fields: { "<field id>": { "value": 42, "band": "High" } }. |
| source | string | form (hosted form or your website form), api, or api_import. |
| payment_status | string | null | pending, paid, refunded, disputed, expired (checkout abandoned), failed (bank payment didn't go through), or null. |
| quality | object | The response quality check: { checked, low_quality, flags: [{ kind, label, reason, field_id? }], seconds }. kind is speeder, bot, straight_line, gibberish or duplicate. |
| excluded, excluded_at | boolean, ISO 8601 | null | Whether the form's team excluded it from results, and when. Excluded responses are kept, never deleted. |
List a form's responses
/v1/forms/:id/responsesresponses:readsinceISO 8601Only items with a submission time at or after this time.untilISO 8601Only items with a submission time at or before this time.include_draftsbooleantruealso returns unfinished drafts (is_draft: true). Default false.include_excludedbooleantruealso returns responses the team excluded from results (excluded: true). Default false, like the app's exports.limitintegerItems per page, 1 to 200. Default 50.cursorstringThenext_cursorof the previous page.
curl "https://api.formzed.com/v1/forms/FORM_ID/responses?since=2026-10-01T00:00:00Z&limit=100" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": [
{
"id": "0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"submitted_at": "2026-10-13T18:02:45.123456+00:00",
"is_draft": false,
"answers": {
"field-1712345678901": "Jane Cooper",
"field-1712345678902": "jane@example.com",
"field-1712345678903": "VIP"
},
"answers_by_label": {
"Name": "Jane Cooper",
"Email": "jane@example.com",
"Ticket": "VIP"
},
"computed": {},
"source": "form",
"payment_status": null
}
],
"next_cursor": "MjAyNi0xMC0xM1QxODowMjo0NS4xMjM0NTYrMDA6MDB8MGI5YzJmNGUtN2ExZC00YzNiLTllOGYtNWQ2YTdiOGM5ZDBl"
}Get a response
/v1/responses/:idresponses:readcurl "https://api.formzed.com/v1/responses/RESPONSE_ID" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"submitted_at": "2026-10-13T18:02:45.123456+00:00",
"is_draft": false,
"answers": {
"field-1712345678901": "Jane Cooper",
"field-1712345678902": "jane@example.com",
"field-1712345678903": "VIP"
},
"answers_by_label": {
"Name": "Jane Cooper",
"Email": "jane@example.com",
"Ticket": "VIP"
},
"computed": {},
"source": "form",
"payment_status": null
}
}Submit a response
response.created webhooks and counts toward the form owner's monthly responses./v1/forms/:id/responsesresponses:writedatarequiredobjectThe answers, keyed by field id (not the label). Required fields need an answer; fields hidden by conditional logic and keys that aren't field ids are dropped; calculated fields are worked out for you.
Answer format
Same rules as the hosted form.
| Field type | Value to send |
|---|---|
| text, textarea, email, tel | String |
| number, rating | Number (rating 1 to 5) |
| date | String, YYYY-MM-DD |
| select, radio, image_choice | One of the field's options, spelled exactly as in the form |
| checkbox | Array of the field's options |
| single_checkbox, terms | true |
| file, image, image_upload, video_answer, signature | A link to the file (https://…); a signature may also be a data:image/png;base64,… image. The API does not upload files. |
| address, appointment | One key per part, after the field id: <id>-street, -city, -state, -zip, -country; <id>-date, -time. |
| calculated | Don't send. Formzed works it out and returns it in computed. |
| payment | Can't be paid through the API. Use the hosted form. |
curl -X POST "https://api.formzed.com/v1/forms/FORM_ID/responses" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": {
"field-1712345678901": "Jane Cooper",
"field-1712345678902": "jane@example.com",
"field-1712345678903": "VIP"
}
}'{
"data": {
"id": "0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"computed": {}
}
}Import responses
/v1/forms/:id/responses/importresponses:writeresponsesrequiredobject[]1 to 500 rows:{ "data": {...}, "submitted_at"?: "<ISO date>" }.submitted_atkeeps the original time and can't be in the future.run_automationsbooleanDefaultfalse: imported rows run no automations and send no webhooks.truetreats each row like a new submission.
- The form must be published.
- If the monthly response limit is reached mid-import, the call stops and answers
403 RESPONSE_LIMITwith what was saved andstopped_at: the first row that wasn't imported.
curl -X POST "https://api.formzed.com/v1/forms/FORM_ID/responses/import" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"responses": [
{
"data": {
"field-1712345678901": "Ann Lee",
"field-1712345678902": "ann@example.com"
},
"submitted_at": "2026-09-01T10:00:00Z"
},
{
"data": {
"field-1712345678901": "Bob Stone",
"field-1712345678902": "bob@example.com"
}
},
{
"data": {
"field-1712345678901": "Cy Park"
}
}
],
"run_automations": false
}'{
"data": {
"imported": 2,
"ids": [
"0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"c4d5e6f7-8a9b-4c0d-9e1f-2a3b4c5d6e7f"
],
"failed": [
{
"index": 2,
"code": "VALIDATION_FAILED",
"error": "Validation failed",
"errors": [
{
"field_id": "field-1712345678902",
"message": "\"Email\" is required"
}
]
}
]
}
}Edit a response
response.updated webhooks when answers change. Unfinished drafts can't be edited./v1/responses/:idresponses:writedatarequiredobjectAnswers to change, keyed by field id.nullclears an answer.
curl -X PATCH "https://api.formzed.com/v1/responses/RESPONSE_ID" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": {
"field-1712345678903": "Standard"
}
}'{
"data": {
"id": "0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"submitted_at": "2026-10-13T18:02:45.123456+00:00",
"is_draft": false,
"answers": {
"field-1712345678901": "Jane Cooper",
"field-1712345678902": "jane@example.com",
"field-1712345678903": "Standard"
},
"answers_by_label": {
"Name": "Jane Cooper",
"Email": "jane@example.com",
"Ticket": "Standard"
},
"computed": {},
"source": "form",
"payment_status": null
}
}Delete a response
response.deleted webhooks. This can't be undone./v1/responses/:idresponses:deletecurl -X DELETE "https://api.formzed.com/v1/responses/RESPONSE_ID" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"deleted": true
}
}Erase a person's data by email
/v1/erasureresponses:deleteemailrequiredstringThe email address to erase.
curl -X POST "https://api.formzed.com/v1/erasure" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "jane@example.com"
}'{
"data": {
"deleted": 2,
"response_ids": [
"0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"c4d5e6f7-8a9b-4c0d-9e1f-2a3b4c5d6e7f"
],
"payments_redacted": 1,
"prefill_links_deleted": 0
}
}API reference
Prefilled links
Send someone a link that opens your form with answers already filled in, like their name and email. The link looks like https://www.formzed.com/form/<slug or id>?prefill=<token>.
/v1/forms/:id/prefill-linksCreate a prefilled linkforms:writeGET/v1/forms/:id/prefill-linksList prefilled linksforms:readDELETE/v1/prefill-links/:tokenDelete a prefilled linkforms:writeCreate a prefilled link
/v1/forms/:id/prefill-linksforms:writeanswersrequiredobjectField id → value, for fields of the published form. Allowed: text, textarea, email, tel, date (YYYY-MM-DD), number, select, radio, image_choice, checkbox (a list), rating (1 to 5), single_checkbox (true or false). Never files, signatures, payments, terms or calculated fields.labelstringYour own note, up to 120 characters.expires_in_daysinteger1 to 365. Default 30.max_usesinteger | nullHow many times the link fills the form, 1 to 1,000,000. Default null (no limit).
- Each time the form opens with the link counts as one use. An expired or used-up link opens the form empty.
- Answers that can't be used come back as
400 BAD_REQUESTwitherrors: [{ field_id, message }].
curl -X POST "https://api.formzed.com/v1/forms/FORM_ID/prefill-links" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"answers": {
"field-1712345678901": "Jane Cooper",
"field-1712345678902": "jane@example.com",
"field-1712345678903": "VIP"
},
"label": "Jane - VIP invite",
"expires_in_days": 14,
"max_uses": 1
}'{
"data": {
"token": "4f9a1c2b3d4e5f60718293a4b5c6d7e8",
"url": "https://www.formzed.com/form/event-sign-up?prefill=4f9a1c2b3d4e5f60718293a4b5c6d7e8",
"label": "Jane - VIP invite",
"answers": {
"field-1712345678901": "Jane Cooper",
"field-1712345678902": "jane@example.com",
"field-1712345678903": "VIP"
},
"expires_at": "2026-10-28T10:30:00.000+00:00",
"max_uses": 1,
"uses": 0,
"created_at": "2026-10-14T10:30:00.112233+00:00"
}
}List prefilled links
/v1/forms/:id/prefill-linksforms:readlimitintegerItems per page, 1 to 200. Default 50.cursorstringThenext_cursorof the previous page.
curl "https://api.formzed.com/v1/forms/FORM_ID/prefill-links" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": [
{
"token": "4f9a1c2b3d4e5f60718293a4b5c6d7e8",
"url": "https://www.formzed.com/form/event-sign-up?prefill=4f9a1c2b3d4e5f60718293a4b5c6d7e8",
"label": "Jane - VIP invite",
"answers": {
"field-1712345678901": "Jane Cooper",
"field-1712345678902": "jane@example.com",
"field-1712345678903": "VIP"
},
"expires_at": "2026-10-28T10:30:00.000+00:00",
"max_uses": 1,
"uses": 1,
"created_at": "2026-10-14T10:30:00.112233+00:00"
}
],
"next_cursor": null
}Delete a prefilled link
/v1/prefill-links/:tokenforms:writecurl -X DELETE "https://api.formzed.com/v1/prefill-links/4f9a1c2b3d4e5f60718293a4b5c6d7e8" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "4f9a1c2b3d4e5f60718293a4b5c6d7e8",
"token": "4f9a1c2b3d4e5f60718293a4b5c6d7e8",
"deleted": true
}
}API reference
Payments
Payments taken by your forms through Stripe. Read only.
The payment object
| Field | Type | Description |
|---|---|---|
| id, form_id, response_id | uuid | response_id may be null. |
| status | string | pending, paid or refunded. |
| amount, discount | number | In the currency's main unit (49.5 means 49.50). |
| currency | string | Three-letter code, like usd. |
| mode | string | live or test. |
| items | object[] | { product_id, name, unit_amount, quantity, subtotal, file }; file is { name, size } for digital products, else null. |
| coupon_code, payer_email, receipt_url | string | null | The coupon used, the payer's email and Stripe's receipt link. |
| created_at, paid_at | ISO 8601 | paid_at is null until paid. |
List payments
/v1/paymentspayments:readform_iduuidOnly this form's payments.statusstringpaid,pending,refunded,expired,failedorduplicate(a second payment for an already-paid response, being refunded).modestringliveortest(Stripe test mode).sinceISO 8601Only items with a creation time at or after this time.untilISO 8601Only items with a creation time at or before this time.limitintegerItems per page, 1 to 200. Default 50.cursorstringThenext_cursorof the previous page.
curl "https://api.formzed.com/v1/payments?status=paid&mode=live&limit=50" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": [
{
"id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"response_id": "0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"status": "paid",
"amount": 49,
"currency": "usd",
"mode": "live",
"items": [
{
"product_id": "vip",
"name": "VIP ticket",
"unit_amount": 49,
"quantity": 1,
"subtotal": 49,
"file": null
}
],
"coupon_code": null,
"discount": 0,
"payer_email": "jane@example.com",
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoV",
"created_at": "2026-10-13T18:02:51.004812+00:00",
"paid_at": "2026-10-13T18:03:40.551093+00:00"
}
],
"next_cursor": null
}Get a payment
/v1/payments/:idpayments:readcurl "https://api.formzed.com/v1/payments/PAYMENT_ID" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"response_id": "0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"status": "paid",
"amount": 49,
"currency": "usd",
"mode": "live",
"items": [
{
"product_id": "vip",
"name": "VIP ticket",
"unit_amount": 49,
"quantity": 1,
"subtotal": 49,
"file": null
}
],
"coupon_code": null,
"discount": 0,
"payer_email": "jane@example.com",
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoV",
"created_at": "2026-10-13T18:02:51.004812+00:00",
"paid_at": "2026-10-13T18:03:40.551093+00:00"
}
}API reference
AI
Ask questions about a form's responses and get summaries, powered by Claude.
- Calls use the key owner's AI credits (1 credit is about 4,000 AI tokens, counted by what they cost: written tokens count 5x read ones).
credits_usedsays how many. With no credits left:402 CREDITS_EXHAUSTED. - The AI reads submitted responses (never drafts), newest first, up to about 120,000 characters.
responses_consideredis how many it read andresponses_totalhow many are in the period. - Uploaded files appear to the AI by file name only. Respondent text is treated as data, never as instructions.
- With no responses in the period you get a plain answer and credits_used: 0. Calls can take up to a minute: use a generous timeout.
Ask a question about responses
/v1/ai/askaiform_idrequireduuidThe form to ask about.questionrequiredstringUp to 2,000 characters.sinceISO 8601Only items with a submission time at or after this time.untilISO 8601Only items with a submission time at or before this time.
curl -X POST "https://api.formzed.com/v1/ai/ask" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"form_id": "FORM_ID",
"question": "What do people say about the venue?",
"since": "2026-10-01T00:00:00Z"
}'{
"data": {
"answer": "Most people who mention the venue like it (14 of 52 responses): it was easy to reach and the room was big enough. 3 of 52 found it too warm.",
"responses_considered": 52,
"responses_total": 52,
"credits_used": 1.284
}
}Summarize responses
/v1/ai/summaryaiform_idrequireduuidThe form to summarize.sinceISO 8601Only items with a submission time at or after this time.untilISO 8601Only items with a submission time at or before this time.
curl -X POST "https://api.formzed.com/v1/ai/summary" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"form_id": "FORM_ID",
"since": "2026-10-01T00:00:00Z"
}'{
"data": {
"summary": "52 people signed up for the October meetup. Most liked the venue (14 of 52), and VIP tickets drew the most questions (9 of 52).",
"themes": [
{
"name": "Venue praise",
"count": 14,
"example": "The venue was easy to reach"
},
{
"name": "VIP ticket value",
"count": 9,
"example": "VIP felt expensive for what it included"
}
],
"responses_considered": 52,
"responses_total": 52,
"credits_used": 1.912
}
}API reference
AI Research
Studies, interviews, transcripts and summaries from AI Research. This is a separate product from forms: it never touches form data.
/v1/studiesList studiesinterviews:readGET/v1/studies/:idGet a studyinterviews:readPOST/v1/studiesCreate a studyinterviews:writeGET/v1/studies/:id/interviewsList a study's interviewsinterviews:readGET/v1/studies/:id/reportGet a study's reportinterviews:readGET/v1/interviews/:idGet an interviewinterviews:read- Study
status:draft,live,pausedorfinished.recruitmentisown(your link, inpublic_url) orpaid(Paid Research: invite only, no public link). - Participants' email, phone, CV and LinkedIn are never returned. Paid Research participants are never named (their names are removed from transcripts too); name answers from your own links are shortened to first name and last initial.
- Keys limited to one form can't use these endpoints (403 KEY_RESTRICTED).
List studies
/v1/studiesinterviews:readlimitintegerItems per page, 1 to 200. Default 50.cursorstringThenext_cursorof the previous page.
curl "https://api.formzed.com/v1/studies" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": [
{
"id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
"title": "Onboarding interviews",
"status": "live",
"modes": ["chat", "voice"],
"recruitment": "own",
"public_url": "https://www.formzed.com/i/k7m2p9qa",
"created_at": "2026-10-05T11:20:03.918274+00:00",
"interviews": 18,
"completed": 15
}
],
"next_cursor": null
}Get a study
/v1/studies/:idinterviews:readcurl "https://api.formzed.com/v1/studies/STUDY_ID" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
"title": "Onboarding interviews",
"status": "live",
"modes": ["chat", "voice"],
"recruitment": "own",
"public_url": "https://www.formzed.com/i/k7m2p9qa",
"created_at": "2026-10-05T11:20:03.918274+00:00",
"interviews": 18,
"completed": 15,
"idea": "Learn what slows new customers down in their first week.",
"language": "en",
"other_languages": ["es"],
"max_minutes": 15,
"updated_at": "2026-10-06T08:41:19.552108+00:00",
"published_at": "2026-10-06T08:41:19.552108+00:00",
"guide": {
"opening": "Thanks for taking the time to talk with us.",
"closing": "That's everything I wanted to ask. Thank you!",
"questions": [
{
"id": "q1",
"text": "Walk me through your first day with the product.",
"goal": "Find early friction",
"probes": ["What did you expect to happen?"]
}
]
},
"screener": {
"title": "A few quick questions",
"description": "",
"questions": [
{
"id": "s1",
"type": "radio",
"label": "How long have you used the product?",
"required": true,
"options": ["Under a month", "1-6 months", "Longer"]
}
]
}
}
}Create a study
questions, the AI drafts the guide and screener from the idea, which uses research AI credits (free accounts use their 100 monthly research AI credits)./v1/studiesinterviews:writetitlerequiredstringUp to 200 characters.idearequiredstringWhat you want to learn, 10 to 4,000 characters.questionsstring[]1 to 12 interview questions (up to 500 characters each). Leave out to let the AI write the guide.modesstring[]Any ofchat,voice,voice_to_voice,video. Default["chat"].languagestringThe interview language: one ofen,es,pt,fr,de,it,nl,ja,ko,zh,hi,bn,ar,tr,id,ru,pl,uk,vi,th. A regional code such aspt-BRis stored aspt. Defaulten.other_languagesstring[]More languages respondents can pick on the first screen, from the same list. The opening, questions and screener are translated for them. Default[].
curl -X POST "https://api.formzed.com/v1/studies" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Onboarding interviews",
"idea": "Learn what slows new customers down in their first week.",
"questions": [
"Walk me through your first day with the product.",
"What almost made you give up?"
],
"modes": ["chat", "voice"]
}'{
"data": {
"id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
"title": "Onboarding interviews",
"status": "draft",
"modes": ["chat", "voice"],
"recruitment": "own",
"public_url": "https://www.formzed.com/i/k7m2p9qa",
"created_at": "2026-10-14T10:40:12.338019+00:00",
"interviews": 0,
"completed": 0,
"idea": "Learn what slows new customers down in their first week.",
"language": "en",
"max_minutes": 15,
"updated_at": "2026-10-14T10:40:12.338019+00:00",
"published_at": null,
"guide": {
"opening": "Thanks for taking the time to talk with us. There are no right or wrong answers, so just share your honest experience.",
"closing": "That's everything I wanted to ask. Thank you so much for your time.",
"questions": [
{
"id": "q1",
"text": "Walk me through your first day with the product.",
"goal": "",
"probes": []
},
{
"id": "q2",
"text": "What almost made you give up?",
"goal": "",
"probes": []
}
]
},
"screener": {
"title": "",
"description": "",
"questions": []
}
}
}List a study's interviews
completed with at least 3 answers, otherwise abandoned./v1/studies/:id/interviewsinterviews:readstatusstringall(default),completed,active,abandonedorended_by_owner.sinceISO 8601Only items with a start time at or after this time.untilISO 8601Only items with a start time at or before this time.limitintegerItems per page, 1 to 200. Default 50.cursorstringThenext_cursorof the previous page.
- Privacy: participants' contact details are never returned. Emails and phone numbers typed in answers are replaced with
[email removed]and[phone removed], name answers are shortened to first name and last initial, and contact questions are left out ofscreener_answers. - In studies with Collect name and email on, a participant can choose to share both on the consent step. Then
participant_nameandparticipant_emailare what they typed andparticipant_consented_atis when they agreed; all three are null for everyone else, and for Paid Research. The transcript and summary stay cleaned either way. summaryis{ headline, key_points, sentiment, notable_quotes }, or null until the AI has summarized the interview. Quotes keep the respondent's words; quotes not in English also have atranslation.languageis the language the interview ran in: the one the respondent picked, or the one they switched to in a chat. It's null on interviews from before October 16, 2026, which ran in the study's language.
curl "https://api.formzed.com/v1/studies/STUDY_ID/interviews?status=completed&limit=20" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": [
{
"id": "7e8f9a0b-1c2d-4e3f-9a4b-5c6d7e8f9a0b",
"study_id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
"respondent_no": 12,
"participant_name": null,
"participant_email": null,
"participant_consented_at": null,
"status": "completed",
"mode": "chat",
"language": "en",
"started_at": "2026-10-12T15:04:11.204511+00:00",
"ended_at": "2026-10-12T15:16:52.880312+00:00",
"answer_count": 7,
"summary": {
"headline": "Setup was quick, but inviting teammates was confusing.",
"key_points": [
"Finished setup in under ten minutes",
"Could not find where to invite teammates",
"Would like a checklist on the first screen"
],
"sentiment": "mixed",
"notable_quotes": [
{
"quote": "I looked for the invite button for a good five minutes",
"context": "Inviting teammates"
}
]
},
"screener_answers": [
{
"label": "How long have you used the product?",
"value": "1-6 months"
},
{
"label": "First name",
"value": "Sam K."
}
]
}
],
"next_cursor": null
}Get a study's report
/v1/studies/:id/reportinterviews:readinterviews_since_report: interviews with answers newer than the report (or kept or excluded after the quality check since). Update the report in Formzed to include them.interviews_removed_since_report: interviews the report counted that were removed since (for example after Formzed's quality review). While it's above 0,interview_countand the theme counts leave them out,summaryis a short note without figures,sentimentis all 0 andexercisesis empty until the report is updated in Formzed.- Respondents appear by number only. In
exercises, a MaxDiff item'sscoreis (times picked most − times picked least) ÷ times shown, from −100 to 100; a concept test'spreferencesays whether the preference is statistically significant.
curl "https://api.formzed.com/v1/studies/STUDY_ID/report" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"study_id": "b3f1c2d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"report_updated_at": "2026-10-24T08:11:52.238+00:00",
"interviews_since_report": 0,
"interviews_removed_since_report": 0,
"interview_count": 40,
"summary": "Price is the main reason people cancel; most who stay value skipping a week.",
"themes": [
{
"title": "Price feels too high for what's in the box",
"description": "People compared the weekly price with buying the same ingredients.",
"respondent_count": 24,
"quotes": [
{
"respondent_no": 7,
"quote": "For two of us it's more than our normal shop."
}
]
}
],
"notable_quotes": [],
"sentiment": {
"positive": 9,
"neutral": 6,
"negative": 15,
"mixed": 10
},
"exercises": [
{
"kind": "maxdiff",
"question": 4,
"question_text": "Which of these matter most to you?",
"best_label": "Most important",
"worst_label": "Least important",
"respondents": 38,
"items": [
{
"item": "Easy to skip a week",
"shown": 114,
"best": 52,
"worst": 6,
"score": 40
}
]
}
]
}
}Get an interview
role is ai or respondent; question_index points into the guide./v1/interviews/:idinterviews:readcurl "https://api.formzed.com/v1/interviews/INTERVIEW_ID" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "7e8f9a0b-1c2d-4e3f-9a4b-5c6d7e8f9a0b",
"study_id": "3c4d5e6f-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
"respondent_no": 12,
"participant_name": null,
"participant_email": null,
"participant_consented_at": null,
"status": "completed",
"mode": "chat",
"language": "en",
"started_at": "2026-10-12T15:04:11.204511+00:00",
"ended_at": "2026-10-12T15:16:52.880312+00:00",
"answer_count": 7,
"summary": {
"headline": "Setup was quick, but inviting teammates was confusing.",
"key_points": [
"Finished setup in under ten minutes",
"Could not find where to invite teammates",
"Would like a checklist on the first screen"
],
"sentiment": "mixed",
"notable_quotes": [
{
"quote": "I looked for the invite button for a good five minutes",
"context": "Inviting teammates"
}
]
},
"screener_answers": [
{
"label": "How long have you used the product?",
"value": "1-6 months"
},
{
"label": "First name",
"value": "Sam K."
}
],
"transcript": [
{
"role": "ai",
"text": "Walk me through your first day with the product.",
"created_at": "2026-10-12T15:04:30.110298+00:00",
"question_index": 0,
"is_followup": false
},
{
"role": "respondent",
"text": "Setup was quick, but I looked for the invite button for a good five minutes.",
"created_at": "2026-10-12T15:05:41.920113+00:00",
"question_index": 0,
"is_followup": false
}
]
}
}API reference
Evaluations
Human evaluation of AI outputs: create a study, add items and files, publish, and download the ratings as training data. Part of AI Research.
/v1/evaluationsList evaluationsinterviews:readPOST/v1/evaluationsCreate an evaluationinterviews:writeGET/v1/evaluations/:idGet an evaluationinterviews:readPOST/v1/evaluations/:id/mediaUpload a fileinterviews:writePOST/v1/evaluations/:id/media/:media_id/completeFinish an uploadinterviews:writePOST/v1/evaluations/:id/itemsAdd itemsinterviews:writePOST/v1/evaluations/:id/publishPublish an evaluationinterviews:writeGET/v1/evaluations/:id/summaryGet the figuresinterviews:readGET/v1/evaluations/:id/resultsGet resultsinterviews:read- The flow:
POST /v1/evaluations, upload each file (media, thencomplete), add items, publish, share thelinkwith your raters, then readresults. - Each rater session counts as one interview of the AI Research plan, when the rater finishes all its items. Deleted items and studies still count toward their limits.
- Results hold only counted work: finished sessions that passed the gold and speed checks (or that you kept), from raters you didn't exclude. Every figure is counted in code.
- Evaluation studies aren't listed by
/v1/studies, and their rater sessions aren't interviews. Keys limited to one form can't use these endpoints (403 KEY_RESTRICTED).
List evaluations
/v1/evaluationsinterviews:readlimitintegerItems per page, 1 to 200. Default 50.cursorstringThenext_cursorof the previous page.
curl "https://api.formzed.com/v1/evaluations" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": [
{
"id": "8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d",
"title": "Support bot: v2 vs v1",
"task": "pairwise",
"status": "live",
"link": "https://www.formzed.com/e/k7m2p9qa",
"raters_per_item": 3,
"items_per_session": 30,
"items": 1200,
"items_complete": 840,
"sessions_completed": 96,
"created_at": "2026-11-24T09:12:44.512345+00:00",
"updated_at": "2026-11-24T09:30:10.118204+00:00"
}
],
"next_cursor": null
}Create an evaluation
link. Each rater session counts as one interview of the AI Research plan when the rater finishes it./v1/evaluationsinterviews:writetitlerequiredstringUp to 200 characters.taskrequiredstringOne ofpairwise,rubric,write_edit,task_success,media_label,translation_check,model_chat,agent_review,battle,prompt_write.task_successandagent_review(agent evaluation) are managed only: the request returns 403MANAGED_ONLYwith a link to send our team a brief.instructionsstringThe rater guide shown before every session (up to 20,000 characters).raters_per_iteminteger3, 4 or 5. Default3.items_per_sessioninteger1 to 50. The default depends on the task (30 for pairwise).gold_per_sessioninteger0 to 10 gold check items mixed into each session (fewer than items_per_session).criteriaobject[]Rubric (required, 1 to 8) or chat scores:{ id, label, description? }, ids likeclarity.labelsobject[]Media labels (1 to 50):{ id, label }. Withmulti_labelandmoments(booleans).allow_tie, reason_requiredbooleanPairwise: whether raters may pick a tie, and must say why. Both default true.write_mode, review_requiredstring, booleanwriteoredita draft; every answer gets a second check before export (default true).categories, max_turns, content_warningobject[], integer, stringChat with your model: rule-break categories, rater messages per chat (1 to 30), and the warning raters see first. The model endpoint is set in the dashboard.languagesstring[]Language codes raters pick from (items are matched by theirlanguage), likefrorpt-BR.
curl -X POST "https://api.formzed.com/v1/evaluations" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Support bot: v2 vs v1",
"task": "pairwise",
"raters_per_item": 3,
"instructions": "Pick the answer a customer would find more helpful."
}'{
"data": {
"id": "8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d",
"title": "Support bot: v2 vs v1",
"task": "pairwise",
"status": "draft",
"link": "https://www.formzed.com/e/k7m2p9qa",
"raters_per_item": 3,
"items_per_session": 30,
"items": 0,
"items_complete": 0,
"sessions_completed": 0,
"created_at": "2026-11-24T09:12:44.512345+00:00",
"updated_at": "2026-11-24T09:30:10.118204+00:00"
}
}Get an evaluation
/v1/evaluations/:idinterviews:readcurl "https://api.formzed.com/v1/evaluations/EVALUATION_ID" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d",
"title": "Support bot: v2 vs v1",
"task": "pairwise",
"status": "live",
"link": "https://www.formzed.com/e/k7m2p9qa",
"raters_per_item": 3,
"items_per_session": 30,
"items": 1200,
"items_complete": 840,
"sessions_completed": 96,
"created_at": "2026-11-24T09:12:44.512345+00:00",
"updated_at": "2026-11-24T09:30:10.118204+00:00"
}
}Upload a file
PUT the file to upload.url with the headers given (within 2 hours), then call complete. Items then use it by its name./v1/evaluations/:id/mediainterviews:writenamerequiredstringThe file name items refer to (unique in the evaluation, up to 200 characters).mimerequiredstringpng, jpeg, webp, gif (10 MB); mpeg, mp4, wav, webm, ogg audio (100 MB); mp4, webm, quicktime video (200 MB).bytesrequiredintegerThe file's size.duration_msintegerAudio and video length (shown to raters; never used for billing).
curl -X POST "https://api.formzed.com/v1/evaluations/EVALUATION_ID/media" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "cat_07.png",
"mime": "image/png",
"bytes": 482113
}'{
"data": {
"media_id": "4b5c6d7e-8f9a-4b0c-9d1e-2f3a4b5c6d7e",
"name": "cat_07.png",
"upload": {
"method": "PUT",
"url": "https://…/research-eval-media/…?token=…",
"headers": {
"Content-Type": "image/png"
}
},
"expires_at": "2026-11-24T11:12:44.000Z"
}
}Finish an upload
/v1/evaluations/:id/media/:media_id/completeinterviews:writecurl -X POST "https://api.formzed.com/v1/evaluations/EVALUATION_ID/media/4b5c6d7e-8f9a-4b0c-9d1e-2f3a4b5c6d7e/complete" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"media_id": "4b5c6d7e-8f9a-4b0c-9d1e-2f3a4b5c6d7e",
"status": "ready"
}
}Add items
Content-Type: application/x-ndjson (one item a line, the same format as the dashboard's import), or JSON {"items": [...]}. A study holds 20,000 items, deleted ones included./v1/evaluations/:id/itemsinterviews:writeidstringYour id for the item (unique in the evaluation). Exports use it as item_id.promptstring | part[]Text, or parts:"text",{"type": "text", "text"}or{"type": "image" | "audio" | "video", "file": "name.ext"}(an uploaded file).output_a, model_a, output_b, model_bstring | part[], stringPairwise: the two outputs and their models (or outputs: [{model, content}]).output, model, draftstring | part[], string, stringRubric and translation checks: the one output. Write or fix: the draft.taskobjectAgent tasks:{ url, title, instructions?, steps? }.languagestringThe item's language (required for translation checks).goldstring | string[] | objectMakes it a gold check item:a/b/tie, labels, or scores.metaobjectUp to 20 columns of text or numbers, for breakdowns.
curl -X POST "https://api.formzed.com/v1/evaluations/EVALUATION_ID/items" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/x-ndjson" \
-H "Idempotency-Key: batch-0001" \
--data-binary @items.jsonl{
"data": {
"added": 500,
"first_seq": 701,
"last_seq": 1200,
"total_items": 1200
}
}Publish an evaluation
/v1/evaluations/:id/publishinterviews:writecurl -X POST "https://api.formzed.com/v1/evaluations/EVALUATION_ID/publish" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d",
"title": "Support bot: v2 vs v1",
"task": "pairwise",
"status": "live",
"link": "https://www.formzed.com/e/k7m2p9qa",
"raters_per_item": 3,
"items_per_session": 30,
"items": 1200,
"items_complete": 840,
"sessions_completed": 96,
"created_at": "2026-11-24T09:12:44.512345+00:00",
"updated_at": "2026-11-24T09:30:10.118204+00:00"
}
}Get the figures
totals, coverage_by_language, agreement (percent and Krippendorff's alpha) and the block of the study's task (for example pairwise: each model's win rate with a 95% interval and head-to-head); the other tasks' blocks are null./v1/evaluations/:id/summaryinterviews:readcurl "https://api.formzed.com/v1/evaluations/EVALUATION_ID/summary" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "8a1b2c3d-4e5f-4a6b-9c7d-8e9f0a1b2c3d",
"title": "Support bot: v2 vs v1",
"status": "live",
"results": {
"task": "pairwise",
"totals": {
"items": 1200,
"gold_items": 40,
"items_complete": 840,
"sessions_completed": 96,
"sessions_counted": 92,
"sessions_held": 3,
"sessions_excluded": 1,
"raters": 61,
"judgments": 2520
},
"agreement": {
"percent": 0.81,
"alpha": 0.62,
"metric": "nominal",
"by_criterion": [],
"by_label": []
},
"pairwise": {
"models": [
{
"model": "v2",
"comparisons": 2520,
"wins": 1462,
"losses": 806,
"ties": 252,
"win_rate": 0.63,
"ci95": [0.62, 0.66]
},
{
"model": "v1",
"comparisons": 2520,
"wins": 806,
"losses": 1462,
"ties": 252,
"win_rate": 0.37,
"ci95": [0.34, 0.38]
}
],
"head_to_head": [
{
"a": "v2",
"b": "v1",
"a_wins": 1462,
"b_wins": 806,
"ties": 252
}
],
"first_position_share": 0.51
},
"rubric": null
}
}
}Get results
limit): the body is the text itself (application/x-ndjson or text/csv), with X-Next-Cursor when there's more. Only counted sessions' ratings (finished, passed the quality checks or kept by you, raters not excluded)./v1/evaluations/:id/resultsinterviews:readformatstringjsonlorcsv. Default: JSONL when the dataset comes as JSONL (labels come as CSV).datasetstringpreference(pairwise, JSONL),ideal(write or fix, JSONL),labels(media, CSV) orfull(every rating, CSV or JSONL). Default: the task's first.min_agreementnumber0 to 1: only items whose raters agree at least this much.include_heldbooleanAlso sessions held for review. Defaultfalse.perstringPreference:rating(default, ties left out) oritem(the majority pick).limitinteger1 to 5,000 rows a page. Default5000.cursorstringThe previous page'sX-Next-Cursor.
- Raters appear as numbers only (
"rater": 7): no names, contacts or devices.item_idis your id, oritem-<seq>. - New ratings between two pages answer
409 RESULTS_CHANGED: start again without a cursor, so the file is one consistent set. - CSV cells that start like a formula get a leading apostrophe, so spreadsheets keep them as text.
curl "https://api.formzed.com/v1/evaluations/EVALUATION_ID/results?format=jsonl&dataset=preference&min_agreement=0.67" \
-H "X-API-Key: $FORMZED_API_KEY" \
-D headers.txt -o preference.jsonl{"prompt":"Summarise this email","chosen":"…","rejected":"…","reason":"Keeps the refund date.","item_id":"p1","chosen_model":"v2","rejected_model":"v1","agreement":1,"rater":3}
{"prompt":"Summarise this email","chosen":"…","rejected":"…","reason":"Shorter and correct.","item_id":"p1","chosen_model":"v2","rejected_model":"v1","agreement":1,"rater":8}API reference
Webhooks
Manage the endpoints Formzed sends events to. You can do the same in Dashboard → API → Webhooks. For the events, payloads and signatures, see Webhook events.
/v1/webhooksList webhookswebhooksPOST/v1/webhooksCreate a webhookwebhooksGET/v1/webhooks/:idGet a webhookwebhooksPATCH/v1/webhooks/:idUpdate a webhookwebhooksDELETE/v1/webhooks/:idDelete a webhookwebhooksPOST/v1/webhooks/:id/testSend a test eventwebhooksGET/v1/webhooks/:id/deliveriesList deliverieswebhooksThe webhook object
| Field | Type | Description |
|---|---|---|
| id | uuid | The webhook id. |
| url | string | Where events are POSTed. |
| events | string[] | The events it receives. |
| form_id | uuid | null | Only this form's events, or null for every form. |
| description | string | null | Your note. |
| is_active | boolean | false when you or Formzed turned it off. |
| disabled_reason | string | null | Why Formzed turned it off: 50 failures in a row, or the plan no longer includes the API. |
| consecutive_failures | integer | Failed attempts in a row. |
| last_delivery_at, last_status | ISO 8601, integer | The last attempt and its HTTP status (null when there was no answer). |
| created_at, updated_at | ISO 8601 | |
| secret | string | Only when created: whsec_..., the signing secret. |
List webhooks
/v1/webhookswebhookslimitintegerItems per page, 1 to 200. Default 50.cursorstringThenext_cursorof the previous page.
curl "https://api.formzed.com/v1/webhooks" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": [
{
"id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
"url": "https://hooks.example.com/formzed",
"events": ["response.created", "payment.succeeded"],
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"description": "CRM sync",
"is_active": true,
"disabled_reason": null,
"consecutive_failures": 0,
"last_delivery_at": "2026-10-13T18:03:12.441902+00:00",
"last_status": 200,
"created_at": "2026-10-03T08:00:00.120934+00:00",
"updated_at": "2026-10-03T08:00:00.120934+00:00"
}
],
"next_cursor": null
}Create a webhook
secret (whsec_...): store it to verify signatures. Up to 20 webhooks per account./v1/webhookswebhooksurlrequiredstringA public https URL, up to 2,000 characters. No private or local addresses, no user name or password.eventsrequiredstring[]One or more ofresponse.created,response.updated,response.deleted,payment.succeeded,payment.refunded,interview.completed.form_iduuid | nullOnly this form's events. Leave out or null for every form the key owner can see.interview.completedneeds no form_id. A one-form key always uses its form.descriptionstringYour own note, up to 200 characters.
curl -X POST "https://api.formzed.com/v1/webhooks" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://hooks.example.com/formzed",
"events": ["response.created", "payment.succeeded"],
"form_id": "FORM_ID",
"description": "CRM sync"
}'{
"data": {
"id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
"url": "https://hooks.example.com/formzed",
"events": ["response.created", "payment.succeeded"],
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"description": "CRM sync",
"is_active": true,
"disabled_reason": null,
"consecutive_failures": 0,
"last_delivery_at": null,
"last_status": null,
"created_at": "2026-10-03T08:00:00.120934+00:00",
"updated_at": "2026-10-03T08:00:00.120934+00:00",
"secret": "whsec_0123456789abcdef0123456789abcdef0123456789abcdef"
}
}Get a webhook
disabled_reason says why Formzed turned it off, if it did./v1/webhooks/:idwebhookscurl "https://api.formzed.com/v1/webhooks/WEBHOOK_ID" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
"url": "https://hooks.example.com/formzed",
"events": ["response.created", "payment.succeeded"],
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"description": "CRM sync",
"is_active": true,
"disabled_reason": null,
"consecutive_failures": 0,
"last_delivery_at": "2026-10-13T18:03:12.441902+00:00",
"last_status": 200,
"created_at": "2026-10-03T08:00:00.120934+00:00",
"updated_at": "2026-10-03T08:00:00.120934+00:00"
}
}Update a webhook
/v1/webhooks/:idwebhooksurlstringA new public https URL.eventsstring[]Replaces the event list.form_iduuid | nullA form, or null for every form.descriptionstring | nullUp to 200 characters.is_activebooleanfalse pauses deliveries; true turns the webhook back on.
curl -X PATCH "https://api.formzed.com/v1/webhooks/WEBHOOK_ID" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"events": ["response.created", "response.updated"],
"is_active": true
}'{
"data": {
"id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
"url": "https://hooks.example.com/formzed",
"events": ["response.created", "response.updated"],
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"description": "CRM sync",
"is_active": true,
"disabled_reason": null,
"consecutive_failures": 0,
"last_delivery_at": "2026-10-13T18:03:12.441902+00:00",
"last_status": 200,
"created_at": "2026-10-03T08:00:00.120934+00:00",
"updated_at": "2026-10-14T10:50:00.731208+00:00"
}
}Delete a webhook
/v1/webhooks/:idwebhookscurl -X DELETE "https://api.formzed.com/v1/webhooks/WEBHOOK_ID" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
"deleted": true
}
}Send a test event
webhook.test delivery. It is sent within about a minute; check it with the deliveries endpoint. No body./v1/webhooks/:id/testwebhookscurl -X POST "https://api.formzed.com/v1/webhooks/WEBHOOK_ID/test" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": {
"id": "9c8d7e6f-5a4b-4c3d-8e2f-1a0b9c8d7e6f",
"webhook_id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
"event": "webhook.test",
"event_id": "cc33dd44-ee55-4f66-8a77-112233445566",
"status": "pending",
"attempts": 0,
"next_attempt_at": "2026-10-14T09:30:00.004821+00:00",
"response_status": null,
"last_error": null,
"created_at": "2026-10-14T09:30:00.004821+00:00",
"delivered_at": null,
"payload": {
"id": "cc33dd44-ee55-4f66-8a77-112233445566",
"type": "webhook.test",
"created_at": "2026-10-14T09:30:00.000Z",
"data": {
"message": "This is a test event from Formzed.",
"webhook_id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e"
}
}
}
}List deliveries
/v1/webhooks/:id/deliverieswebhooksstatusstringpending(waiting or retrying),deliveredorfailed.limitintegerItems per page, 1 to 200. Default 50.cursorstringThenext_cursorof the previous page.
curl "https://api.formzed.com/v1/webhooks/WEBHOOK_ID/deliveries?status=failed" \
-H "X-API-Key: $FORMZED_API_KEY"{
"data": [
{
"id": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a",
"webhook_id": "5b6c7d8e-9f0a-4b1c-8d2e-3f4a5b6c7d8e",
"event": "response.created",
"event_id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
"status": "delivered",
"attempts": 1,
"next_attempt_at": null,
"response_status": 200,
"last_error": null,
"created_at": "2026-10-13T18:02:45.130412+00:00",
"delivered_at": "2026-10-13T18:03:12.441902+00:00",
"payload": {
"id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
"type": "response.created",
"created_at": "2026-10-13T18:02:45.130Z",
"data": {
"id": "0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"form_title": "Event sign-up",
"submitted_at": "2026-10-13T18:02:45.123456+00:00",
"answers": {
"field-1712345678901": "Jane Cooper",
"field-1712345678902": "jane@example.com",
"field-1712345678903": "VIP"
},
"computed": {},
"source": "form",
"payment_status": null
}
}
}
],
"next_cursor": null
}API reference
Legacy submit endpoint
The original endpoint still works for existing integrations. It does the same as POST /v1/forms/:id/responses, with the form id in the body. New integrations should use API v1.
/submit-responseresponses:writeform_idrequireduuidID of a published form.datarequiredobjectThe answers, keyed by field id. Same rules as API v1.
curl -X POST "https://api.formzed.com/submit-response" \
-H "X-API-Key: $FORMZED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"form_id": "FORM_ID",
"data": {
"field-1712345678901": "Jane Cooper",
"field-1712345678902": "jane@example.com"
}
}'{
"success": true,
"response_id": "0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"message": "Response submitted successfully"
}- Success is
200withsuccess,response_idandmessage(API v1 answers201 { "data": { "id", "computed" } }). - A key limited to another form gets
403 FORM_NOT_ALLOWED; a form the key can't see gets404 FORM_NOT_FOUND. Other errors, limits and headers are the same as API v1. - It needs the
responses:writescope, which every key made before API v1 has.
Guides
Webhook events
Formzed POSTs a signed JSON event to your URL when something happens, so you don't have to poll.
Set it up
- 1
Add an endpoint
In Dashboard → API → Webhooks, or with POST /v1/webhooks. Pick the events and, optionally, one form. The URL must be public https. - 2
Store the signing secret
It starts withwhsec_. Keep it on your server, like an API key. - 3
Verify each request
Check the Formzed-Signature header (code below) and reject anything that doesn't match. - 4
Answer 2xx within 10 seconds
Do slow work after replying. Anything else, including redirects, counts as a failure and is retried.
Events
Every event has the same envelope: { id, type, created_at, data }.
| Event | When | data |
|---|---|---|
response.created | A response is submitted: hosted form, your own website form, or the API. Also when an unfinished draft is submitted. Not sent for imports with run_automations: false. | id, form_id, form_title, submitted_at, answers, computed, source, payment_status |
response.updated | The answers of a submitted response change, for example with PATCH /v1/responses/:id. | Same fields as response.created. |
response.deleted | A submitted response is deleted: in the dashboard, with the API, or by an erasure request. | Ids only: id, form_id, form_title, deleted_at. Earlier deliveries that carried its answers are removed from the log. |
payment.succeeded | A payment's status becomes paid. | id, form_id, response_id, status, amount, currency, mode, items, coupon_code, discount, payer_email, receipt_url, created_at, paid_at (same as GET /v1/payments) |
payment.refunded | A payment's status becomes refunded. | Same fields as payment.succeeded. |
interview.completed | An AI interview finishes: it reached the end of the guide, or has at least 3 answers. Only sent to webhooks without a form_id. | id, study_id, study_title, status, mode, started_at, ended_at, answer_count, summary, participant_name, participant_email, participant_consented_at. The last three are set only when the participant chose to share their name and email (studies with Collect name and email on), otherwise null. No screener answers, and contact details typed in the interview are removed. |
webhook.test | You click Send test in the dashboard, or call POST /v1/webhooks/:id/test. | message, webhook_id |
- A webhook with a form_id gets that form's events. Without one, it gets events for every form its owner can see: their own and their team's shared forms (private teammates' forms only for organization owners and admins).
interview.completedgoes only to webhooks without a form_id, for studies of the owner and their workspaces. It's sent once per interview, as soon as the AI summary is saved (sosummaryis included), or within about 10 minutes of the interview ending or going idle if no summary is written.- File links in response events are signed and open for 7 days.
- Imports sent with
run_automations: falsesend no webhooks. - Webhook deliveries don't count as API requests.
Example payloads
{
"id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b",
"type": "response.created",
"created_at": "2026-10-13T18:02:45.130Z",
"data": {
"id": "0b9c2f4e-7a1d-4c3b-9e8f-5d6a7b8c9d0e",
"form_id": "6f1c2b9e-3d4a-4e5f-8a7b-1c2d3e4f5a6b",
"form_title": "Event sign-up",
"submitted_at": "2026-10-13T18:02:45.123456+00:00",
"answers": {
"field-1712345678901": "Jane Cooper",
"field-1712345678902": "jane@example.com",
"field-1712345678903": "VIP"
},
"computed": {},
"source": "form",
"payment_status": null
}
}Request headers
Formzed sends these headers with every delivery.
POST /formzed-webhook HTTP/1.1
Content-Type: application/json
User-Agent: Formzed-Webhooks/1.0
Formzed-Event: response.created
Formzed-Delivery: 2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a
Formzed-Signature: t=1760378565,v1=5d1f0c3b8e2a7d9f4c6b1a0e3d5f7a9c2b4e6d8f0a1c3e5b7d9f1a3c5e7b9d0f| Header | Value |
|---|---|
Formzed-Event | The event type. |
Formzed-Delivery | The delivery id. The same on every retry. |
Formzed-Signature | t=<unix seconds>,v1=<hex>: HMAC-SHA256 of `${t}.${rawBody}` with the webhook's secret. |
Verify the signature
Use the raw request body exactly as received, and reject signatures older than a few minutes.
import crypto from "node:crypto";
import express from "express";
// Formzed-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">
function verifyFormzed(rawBody, header, secret, toleranceSec = 300) {
const parts = Object.fromEntries(
String(header || "").split(",").map((kv) => {
const i = kv.indexOf("=");
return [kv.slice(0, i).trim(), kv.slice(i + 1).trim()];
}),
);
const t = Number(parts.t);
if (!t || !parts.v1 || Math.abs(Date.now() / 1000 - t) > toleranceSec) return false;
const expected = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
const a = Buffer.from(expected);
const b = Buffer.from(parts.v1);
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
const app = express();
// Keep the raw body: re-serialized JSON won't match the signature.
app.post("/formzed-webhook", express.raw({ type: "application/json" }), (req, res) => {
const raw = req.body.toString("utf8");
if (!verifyFormzed(raw, req.get("Formzed-Signature"), process.env.FORMZED_WEBHOOK_SECRET)) {
return res.status(400).send("Bad signature");
}
const event = JSON.parse(raw);
res.sendStatus(200); // answer within 10 seconds, then do the work
handleEvent(event); // deliveries can repeat: skip event.id values you've already handled
});Retries and failures
- Events are sent within about a minute. Each webhook gets its events oldest first.
- A delivery that doesn't get a 2xx is retried after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and 24 hours: 8 attempts in total, then it is marked failed.
- A delivery can arrive more than once. Use the event id (or the Formzed-Delivery header) to skip duplicates. The body of a retried response event can differ slightly, because file links are signed again.
- After 50 failed attempts in a row, Formzed turns the webhook off and sets disabled_reason. Fix the endpoint, then turn it back on (dashboard, or PATCH with is_active: true).
- If the owner's plan no longer includes the API, webhooks are paused with a reason and their pending deliveries are marked failed.
- Delivered and failed deliveries are kept for 30 days. When a response is deleted, earlier deliveries that carried its answers are removed too.
Testing
- Click Send test next to the webhook in Dashboard → API → Webhooks, or call POST /v1/webhooks/:id/test. You get a
webhook.testevent. - See each attempt, its HTTP status and error, and the exact payload in the dashboard or with GET /v1/webhooks/:id/deliveries. The dashboard can retry a delivery.
- To test locally, expose your server with a tunnel (for example ngrok or cloudflared): webhook URLs must be public https.
Guides
Errors
Every error returns JSON with a readable error message and a stable code. Branch on the code, not on the message text.
{
"error": "This key doesn't have the \"forms:write\" permission. Edit the key in Dashboard → API.",
"code": "INSUFFICIENT_SCOPE",
"required_scope": "forms:write"
}Extra fields
errors: a list of problems, each{ field_id, message }(form field checks also addindex). The legacy submit endpoint and the website-form endpoint usefieldIdinstead, as they always have.limit: withKEY_DAILY_LIMIT,RATE_LIMITEDandMONTHLY_LIMIT(a number), andPLAN_LIMIT(forms,questionsorstudies).required_scope: withINSUFFICIENT_SCOPE.imported,ids,failed,stopped_at: withRESPONSE_LIMITduring an import.
BAD_REQUEST400The request is malformed: body isn't a JSON object, a field is missing or has the wrong type, a date or cursor is invalid. Field problems come in
errors.Fix the request. The message says what's wrong.
INVALID_URL400The webhook URL isn't a public https address (private, local, has a user name or password, or doesn't parse).
Use a public https URL.
MISSING_API_KEY401No key was sent.
Send
X-API-Key: fz_...orAuthorization: Bearer fz_....INVALID_API_KEY401The key is wrong, deleted or turned off.
Check for typos and spaces. Turn the key back on, or create a new one.
API_KEY_EXPIRED401The key's expiry date has passed.
Create a new key.
API_KEY_ROTATED401The key was rotated and its grace period has ended.
Use the new key.
SSO_REQUIRED401The key's owner must sign in with their company's single sign-on, and the key (or app connection) was made before that began.
Sign in to Formzed with single sign-on and create a new key, or connect the app again.
CREDITS_EXHAUSTED402No AI credits left this month, or too few for this request (a call needs room for its prompt and answer). For
POST /v1/studieswithout questions: research AI credits.Wait for the 1st, upgrade, or add a credit pack.
TRIAL_LIMIT402No longer sent: free accounts now have 100 research AI credits a month, and running out returns
CREDITS_EXHAUSTED.Send
questions, or upgrade to a research plan.IP_NOT_ALLOWED403The request came from an IP address that isn't on the key's allowlist.
Add the IP or range to the key in Dashboard → API, or call from an allowed server.
PLAN_FEATURE403The key owner's plan has no API access (Free, Team Free).
Upgrade to a paid plan.
INSUFFICIENT_SCOPE403The key doesn't have the permission this endpoint needs.
required_scopenames it.Edit the key's permissions in Dashboard → API, or use another key.
KEY_FORM_RESTRICTED403A key limited to one form can't create or copy forms.
Use a key with access to all forms.
KEY_RESTRICTED403A key limited to one form can't use AI Research.
Use a key with access to all forms.
FORBIDDEN403The key's owner can see this form but can't change it (team viewer), or isn't its owner (only the owner can publish).
Use a key that belongs to the form's owner or an editor.
FORM_NOT_ALLOWED403Legacy
/submit-responseonly: the key is limited to another form.Use a key for this form, or an all-forms key.
FORM_NOT_PUBLISHED403The form isn't published, so it can't take responses or imports.
Publish it (
POST /v1/forms/:id/publish, or in the builder).RESPONSE_LIMIT403The form owner's monthly responses are used up (plan plus response packs).
The owner can upgrade or buy a response pack. Imports tell you which rows were saved.
PLAN_LIMIT403The plan's number of forms, or questions per form, is reached, or (
POST /v1/studies) the free AI Research plan's 3 studies. Deleted forms and studies still count.limitisforms,questionsorstudies.Upgrade the form plan, or choose an AI Research plan for unlimited studies.
WEBHOOK_LIMIT403The account already has 20 webhooks.
Delete one you no longer use.
ITEM_LIMIT403An evaluation holds 20,000 items, deleted ones included;
POST /v1/evaluations/:id/itemswould go over.limitisitems.Start a new evaluation for more items.
MEDIA_LIMIT403The file is over this month's media allowance (the plan's recording GB, or 1 GB of evaluation media on plans without recordings), or the evaluation already has 10,000 files.
Upgrade the plan, upload smaller files, or wait for the next month.
NOT_FOUND404No endpoint at this path, or the response or prefilled link doesn't exist or isn't reachable with this key.
Check the path and the id.
FORM_NOT_FOUND404No form with this id that this key can use. Other accounts' forms, and forms outside a one-form key, look the same.
Check the id with
GET /v1/forms.PAYMENT_NOT_FOUND404No payment with this id on a form this key can use.
Check the id with
GET /v1/payments.STUDY_NOT_FOUND404No study with this id that the key owner can see.
Check the id with
GET /v1/studies.EVALUATION_NOT_FOUND404No evaluation study with this id that the key owner can see (interview studies' ids answer this too).
Check the id with
GET /v1/evaluations.MEDIA_NOT_FOUND404No file with this id in this evaluation.
Use the
media_idfromPOST /v1/evaluations/:id/media.REPORT_NOT_FOUND404The study has no report yet.
Create it on the study's Report tab in Formzed.
INTERVIEW_NOT_FOUND404No interview with this id in a study the key owner can see.
List interviews with
GET /v1/studies/:id/interviews.WEBHOOK_NOT_FOUND404No webhook with this id belongs to the key owner (or to the key's form).
Check the id with
GET /v1/webhooks.METHOD_NOT_ALLOWED405The path exists, but not with this HTTP method.
Check the method in this reference.
WEBHOOK_DISABLED409The webhook is turned off, so it can't send a test.
Turn it on first:
PATCHwith{"is_active": true}.MEDIA_NOT_UPLOADED409The file isn't in its upload slot, or is bigger than declared, than its kind allows or than the month's media allowance.
Ask for a new slot and upload the file again.
RESULTS_CHANGED409New ratings or decisions came in between two pages of
GET /v1/evaluations/:id/results.Start again without a cursor, so the file is one consistent set.
VALIDATION_FAILED422Answers break the form's rules, or the form can't be published yet.
errorslists each problem.Fix each item in
errorsand send again.STRIPE_NOT_CONNECTED422The form takes payments, but its owner hasn't connected Stripe.
Connect Stripe in Dashboard → Settings → Payments, then publish.
NOT_READY422The evaluation can't go live yet.
problemslists why (no items, no criteria or labels, a chat model endpoint not connected, too few gold items).Fix each problem, then publish again.
KEY_DAILY_LIMIT429This key's own daily cap is used up.
Wait for 00:00 UTC (see
Retry-After), or raise the key's cap.RATE_LIMITED429Too many requests this minute for your plan (per key).
Wait
Retry-Afterseconds (60), then retry.UPLOAD_RATE_LIMITED429Over 400 evaluation upload slots in the last hour for this person (the dashboard's uploads included).
Wait, then ask for slots again.
MONTHLY_LIMIT429The plan's API requests for this month, plus any API packs, are used up.
Add an API pack, upgrade, or wait for the 1st, 00:00 UTC (see
Retry-After).SERVER_ERROR500Something failed on Formzed's side.
Retry with backoff. For POST requests, check first whether the item was created.
AI_ERROR502The AI model failed, declined, or returned nothing usable. No credits are charged for a failed call that returned nothing.
Retry after a short wait, or rephrase the question.
LIMITS_UNAVAILABLE503Formzed couldn't check the plan's limits just now, so nothing was done. Submitting a response is never refused for this.
Retry after a few seconds (see
Retry-After).
Retrying
Wait for the Retry-After header, then try again. Give up after a few tries.
// RATE_LIMITED clears within a minute: wait Retry-After, then try again.
// KEY_DAILY_LIMIT and MONTHLY_LIMIT last until the next day or month: don't loop on them.
// A 5xx is only retried for GET and DELETE, which can't create anything twice.
async function withRetry(method, url, init = {}, maxTries = 3) {
for (let attempt = 1; ; attempt++) {
const res = await fetch(url, { ...init, method });
if (res.ok) return res.json();
const body = await res.json().catch(() => ({}));
const retryable =
body.code === "RATE_LIMITED" || (res.status >= 500 && (method === "GET" || method === "DELETE"));
if (!retryable || attempt >= maxTries) {
throw new Error(`Formzed ${res.status} ${body.code}: ${body.error}`);
}
const seconds = Number(res.headers.get("Retry-After")) || 2 ** attempt;
await new Promise((resolve) => setTimeout(resolve, seconds * 1000));
}
}Guides
Limits and pricing
The API is included in paid plans. Need more requests than your plan has? Add an API pack.
| Plan | API | Requests / month | Per minute, per key | Price |
|---|---|---|---|---|
| Free | Not included | – | – | Free |
| Starter | Included | 5,000 | 60 | $35/mo |
| Pro | Included | 25,000 | 120 | $39/mo |
| Growth | Included | 100,000 | 300 | $110/mo |
| Team Pro | Included | 10,000 per seat | 120 | $25/mo per seat |
| Team Growth | Included | 40,000 per seat | 300 | $75/mo per seat |
| Team Scale | Included | 100,000 per seat | 600 | $125/mo per seat |
API packs
One-time purchases. They never expire and are used only after the month's allowance runs out.
| Pack | Extra API requests | Price |
|---|---|---|
| 10,000 | 10,000 | $10 |
| 50,000 | 50,000 | $40 |
| 250,000 | 250,000 | $150 |
The workspace owner buys packs in Dashboard → API (Buy more requests) or on the Billing page.
Limits at a glance
| Limit | Applies to | Resets | When reached |
|---|---|---|---|
| Per minute | Each key. The number depends on your plan. | Every minute | 429 RATE_LIMITED |
| Monthly API requests | All keys on the account plus API packs. Team plans share one pool. | Each billing month (the plan's renewal date; the 1st, 00:00 UTC, on Free) | 429 MONTHLY_LIMIT |
| Daily cap | One key, 100 to 10,000. You set it on the key. | Every day, 00:00 UTC | 429 KEY_DAILY_LIMIT |
| Monthly responses | The form owner's plan, from every source, plus response packs. | Each billing month | 403 RESPONSE_LIMIT |
| Forms, questions per form | The plan's limits, for created and copied forms. Deleted forms still count. | – | 403 PLAN_LIMIT |
| Studies | 3 in total without an AI Research plan, deleted ones included. Plans: unlimited. | – | 403 PLAN_LIMIT |
| AI credits | The key owner's monthly AI credits plus credit packs. | Each billing month | 402 CREDITS_EXHAUSTED |
| Webhooks | 20 per account. | – | 403 WEBHOOK_LIMIT |
| Sizes | Body 2 MB; 500 rows per import; 200 items per page; 300 fields per form. | – | 400 BAD_REQUEST |
How requests are counted
- Every request made with a valid key counts toward the monthly API requests and the key's daily cap, including requests that fail (for example VALIDATION_FAILED or FORM_NOT_FOUND).
- These don't count: requests without a valid key, API_KEY_EXPIRED, API_KEY_ROTATED, SSO_REQUIRED, IP_NOT_ALLOWED, PLAN_FEATURE, INSUFFICIENT_SCOPE, requests stopped by a limit (KEY_DAILY_LIMIT, RATE_LIMITED, MONTHLY_LIMIT), and unknown paths or methods.
- An import counts as one request, but every saved row counts toward the monthly responses.
- Monthly responses count by when Formzed received a response, so imported history counts in the month you import it.
- Formzed emails the account owner at 80% and 100% of the month's API requests.
- Webhook deliveries and your own website form (no key) don't use API requests.
- Usage, errors and response times per key are in Dashboard → API.
Guides
MCP server
Connect claude.ai, ChatGPT, Claude Code, Cursor or another MCP client to Formzed, so it can read your AI Research studies, reports, interviews and forms, answer questions about them, create studies and forms, and run evaluation studies from start to finish.
- Server URL:
https://api.formzed.com/mcp(Streamable HTTP). - claude.ai and ChatGPT: in claude.ai, Settings → Connectors → Add custom connector; in ChatGPT, chatgpt.com/plugins → + → Add custom MCP server with OAuth. Paste that URL, sign in with Formzed, choose what the app may do and click Allow; nothing to copy. Manage or disconnect apps in Dashboard → API → Connected apps.
- Claude Code, Cursor and others: also sign in with Formzed, or send a Formzed API key in
Authorization: Bearer fz_...(it gets the key's permissions, IP allowlist and limits). - It can never delete anything. Write tools create drafts, edit form drafts, add evaluation items and files, and publish forms and evaluation studies, only with the permission you allowed. Each tool call is one API request, counted and logged like any other.
- Evaluation studies (people rating AI outputs):
create_evaluation→add_evaluation_items(files first, if items show any) →publish_evaluation→ share the rater link with your raters, or order paid raters for the study in Formzed →get_evaluation_results→export_evaluation_data(preference pairs as JSONL of prompt, chosen, rejected and reason, ready for DPO or reward models). - Counts come from Formzed's checked reports (
get_study_report), so the AI quotes them instead of counting transcripts itself. - Make a key in Dashboard → API with the read permissions you want to share:
interviews:readfor AI Research and evaluation studies (interviews:writeto create and publish them),forms:readandresponses:readfor forms. Tools the key can't use aren't shown.
claude mcp add --transport http formzed https://api.formzed.com/mcp \
--header "Authorization: Bearer $FORMZED_API_KEY"Tools
| Tool | Permission | What it returns |
|---|---|---|
| search | forms:read or interviews:read | Forms and studies whose titles match the words you give (ChatGPT's deep research uses it). |
| fetch | forms:read or interviews:read | One search result: a form with its questions and newest responses, or a study with its setup and report. |
| list_studies | interviews:read | Your studies, with status and interview counts. |
| get_study | interviews:read | A study's goal, interview guide and screener. |
| get_study_report | interviews:read | The latest report: themes with checked counts and quotes, sentiment, MaxDiff and concept-test results, and how many interviews are newer. |
| list_interviews | interviews:read | A study's interviews with each one's AI summary and screener answers. |
| get_interview | interviews:read | One interview's full transcript. |
| list_forms | forms:read | Your forms, with status and response counts. |
| get_form | forms:read | A form's questions. |
| list_responses | responses:read | A form's responses with their answers. |
| create_study | interviews:write | A draft study from your questions, or AI-drafted from the idea (uses research credits). |
| create_form | forms:write | A draft form with its questions, with its public link and its builder link. |
| update_form | forms:write | Changes a form's draft (title, description, questions). |
| publish_form | forms:write | Puts a form's draft live. The AI is told to confirm with you first. |
| duplicate_form | forms:write | A draft copy of a form. |
| list_evaluations | interviews:read | Your evaluation studies, with task, status, rater link and progress. |
| get_evaluation | interviews:read | One evaluation study and its progress. |
| get_evaluation_results | interviews:read | The figures, counted in code: agreement, win rates, scores, labels. |
| export_evaluation_data | interviews:read | A page of ratings as training data (preference, ideal, labels or full), with next_cursor. |
| create_evaluation | interviews:write | A draft evaluation study: title, task and settings. |
| add_evaluation_items | interviews:write | Up to 1,000 items a call, in the same shape as the items endpoint. |
| create_evaluation_media_upload | interviews:write | An upload URL for one image, audio or video file. |
| complete_evaluation_media_upload | interviews:write | Checks an uploaded file and makes it usable in items. |
| publish_evaluation | interviews:write | Opens the study to raters at its link. The AI is told to confirm with you first. |
Use Formzed in ChatGPT and Gemini
- ChatGPT: open chatgpt.com/plugins, press +, choose Add custom MCP server, paste
https://api.formzed.com/mcpand pick OAuth. Sign in with Formzed and press Allow. Ask things like "What did people say about pricing in my latest study?". Custom servers depend on your ChatGPT plan and your workspace admin's settings. - Gemini CLI: install the Formzed extension, start
geminiand run/mcp auth formzed. A browser opens on the Formzed sign-in. - Antigravity CLI: add the server to
mcp_config.jsonas below; it opens the Formzed sign-in the first time a tool runs. - Gemini Enterprise: your Google Cloud admin adds a custom MCP server with an OAuth client registered for it (below): authorization URL
https://www.formzed.com/oauth/authorize, token URLhttps://api.formzed.com/oauth/token, scopes such asforms:read responses:read interviews:read, and Enable PKCE Support turned on. - Every tool says whether it only reads or changes something, so ChatGPT and Gemini ask before a change. Nothing can be deleted.
gemini extensions install https://github.com/formzed/formzed-gemini-extension
gemini
/mcp auth formzedSign in with Formzed (OAuth)
- Standard OAuth 2.1 for MCP: metadata at
https://api.formzed.com/.well-known/oauth-protected-resource/mcpand/.well-known/oauth-authorization-server, dynamic client registration at/oauth/register, PKCE (S256) required. - Access tokens last 1 hour and refresh tokens 30 days; a refresh token works once (using an old one again ends the sign-in). Tokens only work on the MCP server, not the REST API.
- A connection has your plan's API access and limits. Disconnecting stops its tokens at once; connecting again revokes the old ones.
Guides
Libraries and no-code
Official client libraries and no-code apps for API v1.
JavaScript / TypeScript
@formzed/sdk · coming soon
Node 18+, Deno, Bun and edge runtimes; no dependencies; full types. Retries rate limits and server errors, pages for you, and verifies webhook signatures. Refuses to run in a browser.
Python
formzed · coming soon
Python 3.9+, one dependency (requests). Same features: retries, page iterators and webhook signature checks. Objects are plain dicts with the API's field names.
// PREVIEW: @formzed/sdk isn't on npm yet, so "npm install @formzed/sdk" fails today.
// This is how it will look at release. Until then, use the REST examples on this page.
import { Formzed } from "@formzed/sdk";
const formzed = new Formzed({ apiKey: process.env.FORMZED_API_KEY });
const { data: forms } = await formzed.forms.list({ status: "published" });
const form = await formzed.forms.get(forms[0].id);
const created = await formzed.responses.create(form.id, {
[form.fields[0].id]: "Ada Lovelace",
});
for await (const response of formzed.responses.iterate(form.id, { since: "2026-10-01T00:00:00Z" })) {
console.log(response.submitted_at, response.answers_by_label);
}| App | Status | Triggers | Actions and searches |
|---|---|---|---|
| Zapier | In review, coming soon | New response, New payment, Interview completed (instant, through Formzed webhooks) | Create a response, Create a prefilled link, Find a response by email |
| Make | In review, coming soon | Watch new responses, Watch payments, Watch completed interviews (instant) | Create, update or delete a response; get a response; create a prefilled link; get, list or create forms; list responses, payments or interviews; make an API call |
| WordPress | Plugin in review, coming soon | None (it shows forms, it doesn't use the API) | A Formzed block and the shortcode [formzed id="your-form" type="standard|popup|slider"], with the same options as the embed code. No API key. |
Until then: the HTTP step
Webhooks by Zapier, Make's HTTP module or n8n's HTTP Request node. Store the key in the tool's connection or secret settings.
| Setting | Value |
|---|---|
| Method | POST |
| URL | https://api.formzed.com/v1/forms/YOUR_FORM_ID/responses |
| Header | Content-Type: application/json |
| Header | X-API-Key: your key |
| Body (JSON) | {"data": {"field-1712345678901": "..."}} |
To start a Zap or scenario when something happens in Formzed, point a Formzed webhook at the tool's "catch hook" URL.
Guides
Versioning and changelog
How the API changes, how much notice you get, and what changed.
| Rule | What it means for you |
|---|---|
| v1 is stable | Everything under https://api.formzed.com/v1 keeps working as documented. Breaking changes only ever come in a new version (/v2), never in v1. |
| Additive changes any time | New endpoints, new optional parameters, new fields in replies, new webhook event types and new error codes can appear without notice. Ignore fields you don't know and branch on code, not on the message text. |
| Deprecation notice | Before anything is removed or a version retired, it's announced here and by email to account owners at least 6 months ahead, and its replies carry Deprecation and Sunset headers with the date. |
| Old addresses | The earlier *.supabase.co/functions/v1/… URLs still work and won't be switched off without the same notice. Use https://api.formzed.com for anything new. |
Planned for v2
Things we know differ today. They stay as they are in v1 and line up in v2.
- One body shape everywhere:
dataandfield_id. The website form endpoint already acceptsdataand returnsfield_idnext tofieldId. 201for every create (the website form and legacy endpoints answer200today).- One body limit (2 MB) on every endpoint; the website form endpoint allows 1 MB today.
- The legacy submit endpoint retired in favour of POST /v1/forms/{id}/responses.
Changelog
| Date | Change |
|---|---|
| 2026-11-24 | Evaluations (AI Training): /v1/evaluations to create evaluation studies, upload files and items, publish, and download results as JSONL or CSV (X-Next-Cursor pages). /v1/studies lists interview studies only. |
| 2026-10-19 | New address: https://api.formzed.com (the old URLs still work). Idempotency-Key on every POST. Website forms: a spam-trap field, a list of allowed websites per form (ORIGIN_NOT_ALLOWED), data accepted for answers, and field_id plus code: VALIDATION_FAILED in 422 replies. |
| 2026-10-14 | API v1 launched: forms, responses, prefilled links, payments, AI, AI Research and webhooks, with scoped keys, IP allowlists and key rotation. |
Website forms
Your own website form
Keep your own HTML form and send answers to Formzed straight from the visitor's browser. No API key needed.
Set it up
- 1
Publish the form in Formzed
Only published forms accept responses. - 2
Get the ready-made HTML
In Forms, open ⋯ → Embed → "Your own HTML form". It's a plain HTML version of your form. Each input'snameis a field id. - 3
Paste it into your site
Style it however you like. Responses appear in your Formzed dashboard.
/forms/submitform_idrequiredstring (uuid)ID of a published form.answersrequired_hpstringThe spam trap: a hidden input people never fill in (as in the HTML below), sent insideanswersor next to it. When it isn't empty the reply looks normal, but nothing is saved or counted.
<form id="contact">
<input name="field-1712345678901" placeholder="Name" required>
<input name="field-1712345678902" type="email" placeholder="Email" required>
<textarea name="field-1712345678904" placeholder="Message"></textarea>
<!-- Spam trap: hidden from people, bots fill it in. Keep it empty. -->
<div style="position:absolute;left:-10000px" aria-hidden="true">
<input type="text" name="_hp" tabindex="-1" autocomplete="off">
</div>
<button type="submit">Send</button>
<p id="status" role="status"></p>
</form>
<script>
// No API key here: this endpoint is public.
document.getElementById("contact").addEventListener("submit", async (event) => {
event.preventDefault();
const form = event.target;
const status = document.getElementById("status");
const answers = Object.fromEntries(new FormData(form));
status.textContent = "Sending...";
const res = await fetch("https://api.formzed.com/forms/submit", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ form_id: "YOUR_FORM_ID", answers }),
});
const result = await res.json().catch(() => ({}));
if (res.ok) {
status.textContent = "Thanks! Your response was sent.";
form.reset();
} else {
status.textContent = result.errors?.[0]?.message || result.error || "Something went wrong.";
}
});
</script>Responses
| HTTP | Body | Meaning |
|---|---|---|
| 200 | {"id": "<response uuid>", "computed": {...}} | Saved. computed holds calculated field results (empty when the form has none). |
| 400 | {"error": "Invalid form_id"} | The body isn't JSON, or form_id isn't a UUID. |
| 403 | {"error": "...", "code": "RESPONSE_LIMIT"} | The form owner's monthly responses are used up. |
| 403 | {"error": "...", "code": "ORIGIN_NOT_ALLOWED"} | The form only accepts responses from its allowed websites, and this page isn't one. |
| 404 | {"error": "Form not found"} | No such form, or it isn't published. |
| 413 | {"error": "Request too large"} | The body is over 1 MB. |
| 422 | {"error": "Validation failed", "code": "VALIDATION_FAILED", "errors": [{"field_id", "fieldId", "message"}]} | Show each message next to its field. field_id and fieldId hold the same value. |
| 429 | {"error": "...", "code": "RATE_LIMITED"} | More than 100 submissions in an hour from one connection to one form. |
| 500 | {"error": "..."} | Try again later. |
Stopping spam
| Protection | How |
|---|---|
| Spam trap | Keep the hidden _hp input from the ready-made HTML. Bots that fill it in get a normal-looking reply, and nothing is saved, counted toward your responses or sent to automations. |
| Allowed websites | In Forms, ⋯ → Embed → "Your own HTML form" → Allowed websites. Browsers on any other site get ORIGIN_NOT_ALLOWED. Formzed's own pages and custom form domains always work. |
| Rate limit | 100 submissions an hour from one connection to one form. |
Allowed websites stop other sites' pages; a script outside a browser can still send requests, which the spam trap and the rate limit catch. For the strongest protection, embed the hosted form.
- It doesn't use API requests. Each submission counts toward the form owner's monthly responses, runs the form's automations and sends response.created webhooks, like the hosted form.
- File uploads, payments and bookings need the hosted form. .
Website forms
Embed the hosted form
Put the Formzed form itself on your page with an iframe. Everything works, including file uploads, payments and bookings.
- 1
Publish the form
Only published forms can be embedded. - 2
Copy the embed code
In Forms, open ⋯ → Embed. The "Embed Widget" tab has the iframe code and a live preview. - 3
Paste it into your page's HTML
Changes you publish in Formzed show up in the embed automatically.
<iframe
src="https://www.formzed.com/form/YOUR_FORM_SLUG?embed=true"
width="100%"
height="600"
frameborder="0"
title="Contact form"
style="border: none; border-radius: 8px;">
</iframe>| Attribute | Example | Notes |
|---|---|---|
| src | https://www.formzed.com/form/contact-form-abc123?embed=true | Your form's slug or ID, plus ?embed=true for a layout made for iframes. Add &prefill=<token> to fill in answers from a prefilled link. |
| width | 100% | Fills the container. A pixel width such as 800 also works. |
| height | 600 | In pixels. Use a taller value for long forms. |
| title | Contact form | Read out by screen readers. |
Tools
Playground
Send a real request to any API v1 endpoint with your key and see the raw response.
No key yet? Create one.
Fills in the method, path and body. Edit them freely.
Puts the form's ID in the path.
Request details
- Method:
- GET
- URL:
- https://api.formzed.com/v1/forms
- Headers:
- X-API-Key: [your key]
Tools
Help
Stuck on an integration? We can help.
Check the error code first, then the FAQ. If you're still stuck, contact us with the code, the X-Request-Id, the time of the request and the key name (never the key itself).