Form API
Your endpoint
Each form you create gets a unique, permanent API endpoint. All submissions to that URL are stored in your database.
Endpoint format
Code
Example:
Code
What it accepts
| Property | Value |
|---|---|
| Method | POST |
| Content types accepted | application/x-www-form-urlencoded, multipart/form-data, application/json |
| CORS | Allowed from any origin |
| Default redirect | PaceForms thank-you page (customizable — see Custom redirect) |
Response format
All API responses return JSON. Use the status code and body to handle success and error states in your UI.
Success — 200 OK
Code
Validation error — 422 Unprocessable Entity
Code
Spam blocked — 400 Bad Request
Code
Rate limit exceeded — 429 Too Many Requests
Code
Last modified on