Skip to main content
Formalingo

API Reference

Complete machine-readable API specification.

API Reference

The full OpenAPI 3.1 specification is available at:

GET /api/v1/openapi.json

You can import this into:

  • Postman — Import → URL → paste https://app.formalingo.com/api/v1/openapi.json
  • Insomnia — Import → From URL
  • Swagger UI — Paste the URL into editor.swagger.io
  • Speakeasy / Stainless — For SDK generation

Auto-generated reference

The API reference pages in this docs site are auto-generated from the OpenAPI spec. Run the generation script to update them:

npm run docs:generate

This updates all pages in /content/docs/api-reference/ without touching handwritten guide pages.

Quick reference

Authentication

Authorization: Bearer af_live_YOUR_KEY

Base URL

https://app.formalingo.com/api/v1

Forms

MethodPathPermissions
GET/api/v1/formsforms:read
POST/api/v1/formsforms:write
GET/api/v1/forms/{id}forms:read
PUT/api/v1/forms/{id}forms:write
DELETE/api/v1/forms/{id}forms:delete
POST/api/v1/forms/{id}/publishforms:write, forms:publish
GET/api/v1/forms/{id}/sectionsforms:read
POST/api/v1/forms/{id}/sectionsforms:write
GET/api/v1/forms/{id}/questionsforms:read
POST/api/v1/forms/{id}/questionsforms:write
GET/api/v1/forms/{id}/recipientsrecipients:read
POST/api/v1/forms/{id}/recipientsrecipients:write
DELETE/api/v1/forms/{id}/recipients/{rid}recipients:write

Documents

MethodPathPermissions
GET/api/v1/documentsdocuments:read
POST/api/v1/documentsdocuments:write
GET/api/v1/documents/{id}documents:read
PUT/api/v1/documents/{id}documents:write
DELETE/api/v1/documents/{id}documents:delete
POST/api/v1/documents/{id}/publishdocuments:write, documents:publish
GET/api/v1/documents/{id}/fieldsdocuments:read
POST/api/v1/documents/{id}/fieldsdocuments:write
GET/api/v1/documents/{id}/signer-rolesdocuments:read
POST/api/v1/documents/{id}/signer-rolesdocuments:write
GET/api/v1/documents/{id}/submissionssubmissions:read
POST/api/v1/documents/{id}/submissionssubmissions:write

On this page

Copy this page as Markdown to use with AI tools.