API Reference
Build with the Valastic API
Automate forms and push submission data across your stack with our REST API and webhooks.
Quick start
# Get your API token
curl
-X POST https://api.valastic.com/auth/token \-H "Content-Type: application/json" \
-d '{"api_key": "your_key"}'
# Submit a form
curl
-X POST https://api.valastic.com/forms/frm_abc123/submit \-H "Authorization: Bearer $TOKEN" \
-d '{"name": "Jane", "amount": 5000}'
Endpoints
POST
/auth/tokenGenerate an API token for authenticated requests.
GET
/formsList all forms in your workspace with pagination and filters.
POST
/forms/:id/submitSubmit data to a form and trigger its validation and routing automatically.
POST
/webhooksRegister a webhook endpoint for real-time event notifications.
GET
/audit/logsQuery the audit log for compliance and security reviews.
Guides
Authentication
Learn how to generate and manage API tokens.
- API keys vs OAuth
- Token scopes
- Rate limits
- Best practices
Forms API
Build, update, and manage automated forms programmatically.
- List forms
- Create a form
- Add fields
- Form validation
Submissions API
Submit, route, and retrieve form submissions via the API.
- Submit data
- List submissions
- File uploads
- Batch operations
Webhooks
Receive real-time notifications when events occur.
- Event types
- Payload format
- Retry policy
- Verification