The FormsAI REST API
Read forms and responses, create forms and subscribe webhooks from your own code, with an API key and JSON.
FormsAI Pro
The API lives at https://app.formsai.dev/api/v1. Every request is authenticated with an API key and returns JSON. Field names are snake_case.
curl https://app.formsai.dev/api/v1/forms \
-H "Authorization: Bearer fk_live_…"Endpoints
| Method and path | What it does |
|---|---|
GET /me | The account the key belongs to. |
GET /forms | Your forms. See forms. |
POST /forms | Create a form. |
GET /forms/:id | One form, with its full form document. |
GET /forms/:id/responses | Completed responses, newest first, paginated. See responses. |
GET /forms/:id/responses/:rid | One response, with Filo's follow-ups. |
DELETE /forms/:id/responses/:rid | Delete a response and its files. |
GET /forms/:id/webhooks | A form's webhooks. See webhook endpoints. |
POST /forms/:id/webhooks | Subscribe a webhook. |
DELETE /forms/:id/webhooks/:wid | Unsubscribe it. |
OpenAPI
The full description is at https://app.formsai.dev/api/v1/openapi.json (OpenAPI 3.1). Import it into Postman, Insomnia or a code generator.