Formet API Documentation
RESTful API reference for Formet. Manage forms, submissions, payments, and integrations programmatically.
On this page
1Authentication
All API requests require a JWT token in the Authorization header. Obtain a token by authenticating via /api/auth/login with your credentials. Tokens expire after 7 days by default.
2Forms Endpoints
GET /api/forms — List all your forms. POST /api/forms — Create a new form. GET /api/forms/:id — Get form details. PUT /api/forms/:id — Update a form. DELETE /api/forms/:id — Delete a form.
3Submissions Endpoints
GET /api/forms/:id/submissions — List all submissions for a form. POST /api/forms/:id/submit — Submit a response (public). GET /api/submissions/:id — Get submission details.
4Webhook Integration
Configure webhooks in your form settings. Formet sends POST requests to your webhook URL on every submission. The payload includes all form fields and metadata.
5Rate Limits
API requests are rate-limited to 100 requests per minute per user. Submission endpoints have separate limits to prevent abuse. Rate limit headers are included in every response.