API Documentation

A4Forms REST API

Build powerful form integrations with our comprehensive API

Base URL: https://api.a4forms.com
Version: v1

Quick Start

1. Get API Key

Generate your API key from account settings

2. Make Request

Include your API key in the Authorization header

3. Start Building

Integrate forms into your application

Authentication

All API requests require authentication using Bearer tokens

Include your API key in the Authorization header of every request:

curl -X GET "https://api.a4forms.com/v1/forms" \
  -H "Authorization: Bearer YOUR_API_KEY"

Important: Keep your API keys secure. Never commit them to version control or expose them in client-side code.

API Endpoints

Complete reference for all available endpoints

GET/api/v1/forms

List all forms in your account

POST/api/v1/forms

Create a new form

GET/api/v1/forms/{formId}/submissions

Get submissions for a specific form

POST/api/v1/forms/{formId}/submissions

Submit data to a form (public endpoint)

DELETE/api/v1/forms/{formId}

Delete a form and all its submissions

Rate Limits & Best Practices

Guidelines for optimal API usage

Rate Limits

  • Free plan: 60 requests per minute
  • Pro plan: 300 requests per minute
  • Enterprise plan: Custom rate limits

Best Practices

  • Use pagination for large datasets
  • Implement exponential backoff for retries
  • Cache responses when appropriate
  • Use webhooks for real-time updates instead of polling

Need More Help?

Check out our SDKs, tutorials, and community resources