Server API
Server API
Server API
The Formic Server provides a RESTful API for handling form submissions.
Overview
The server API allows you to:
- Submit form data
- Manage form configurations
- Retrieve submission history
API Reference
For complete API documentation, see the API Reference.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/f/:slug | Submit form data |
| GET | /v1/f/:slug | Get form configuration |
| GET | /v1/f/:slug/submissions | List submissions |
Authentication
All API requests require an X-API-Key header with your API key:
curl -X POST https://api.audelabs.com/v1/f/your-form-slug \
-H "X-API-Key: your-api-key" \
-H "Content-Type: application/json" \
-d '{"email": "test@example.com", "message": "Hello"}'
See the Authentication and Anti-Abuse documentation for details on security features.