API Reference
Integrate FavForm with your applications using our REST API.
Authentication
FavForm has two types of endpoints:
Authenticated endpoints
Management endpoints (creating, updating, deleting, listing) require an API key. Generate API keys from your developer settings. Requires Business plan.
Public endpoints
Submission endpoints (submit, vote) are public but require an embed token for security. Tokens are issued when loading a form/poll/widget and must be included with submissions. Tokens expire after 30 minutes. The embed SDK handles this automatically.
Base URL
https://favform.com/apiPagination
List endpoints support pagination with the following query parameters:
| Parameter | Default | Description |
|---|---|---|
| page | 1 | Page number |
| limit | 50 | Items per page (max 100) |
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://favform.com/api/forms?page=2&limit=25"Responses include a pagination object with page, limit, total, and totalPages.
Rate Limits
API requests are rate limited based on your plan:
| Plan | Requests/minute |
|---|---|
| Free | 60 |
| Pro | 300 |
| Business | 1000 |
Analytics
Analytics data (completion rates, device breakdown, geographic data, conversion funnels) is available through the dashboard but not currently exposed via API. Response metadata includes the raw data needed to build your own analytics if needed.
See the Responses API for available metadata fields.
Endpoints
Forms
View all →curl -H "Authorization: Bearer YOUR_API_KEY" \
https://favform.com/api/forms/api/formsList all forms/api/formsCreate a new form/api/forms/:idGet a form by ID/api/forms/:idUpdate a form/api/forms/:idDelete a form/api/forms/:id/tokenGet embed token/api/forms/:id/submitSubmit a responsePolls
View all →curl -H "Authorization: Bearer YOUR_API_KEY" \
https://favform.com/api/polls/api/pollsList all polls/api/pollsCreate a new poll/api/polls/:idGet a poll by ID/api/polls/:idUpdate a poll/api/polls/:idDelete a poll/api/polls/:id/tokenGet embed token/api/polls/:id/voteSubmit a vote/api/polls/:id/resultsGet poll resultsWidgets
View all →curl -H "Authorization: Bearer YOUR_API_KEY" \
https://favform.com/api/widgets/api/widgetsList all widgets/api/widgetsCreate a new widget/api/widgets/:idGet a widget by ID/api/widgets/:idUpdate a widget/api/widgets/:idDelete a widget/api/widgets/:id/tokenGet embed token/api/widgets/:id/submitSubmit a responseResponses
View all →curl -H "Authorization: Bearer YOUR_API_KEY" \
https://favform.com/api/forms/FORM_ID/responses/api/forms/:id/responsesGet form responses/api/widgets/:id/responsesGet widget responses/api/responsesBulk delete responses