OpenAPI reference
FormRoost publishes the formal OpenAPI 3.1.2 contract for the public submission API:
What the spec covers
- Endpoint:
POST /s/v1/{environment}/{submissionId}(sandboxorproduction,fpub_...IDs) - Request bodies:
application/jsonandapplication/x-www-form-urlencoded - Optional header:
Idempotency-Key(8–200characters) - Security model: Public browser
Originvalidation or HTTP Bearer project API key (bearerAuth) - Responses:
201 AcceptedSubmission,303 See OtherHTML redirects, and structuredapplication/problem+jsonerrors (400,401,403,404,409,413,422,429,503)
You can import /docs/openapi/submission-v1.json directly into Postman, Insomnia, Swagger UI, Redoc, or typed API client generators, and pair it with Error responses when mapping status codes and Problem.code handlers.