API Reference
Retrieve form submissions programmatically using the FormBold REST API. This API allows you to integrate your form data into your own systems, build custom dashboards, or automate internal workflows.
Authentication Required: All API requests require a Personal Access Token. You can generate and manage your tokens from the Account Settings -> API Tokens section in your FormBold dashboard.
Enable API Access: To use the API for a specific form, you must enable the HTTP API Access toggle within that form’s Settings tab in the dashboard.
Authentication
All API requests must include your token in the Authorization header as a Bearer token:
Authorization: Bearer YOUR_API_TOKENList Submissions API
Retrieve, search, and paginate through all submissions for a specific form.
Endpoint
GET https://api.formbold.com/api/forms/{formId}/submissions
Parameters
| Name | Type | Description |
|---|---|---|
formId | string | Required. The unique ID of your form (e.g., obkg0). |
page | integer | Optional. The page number to retrieve. |
limit | integer | Optional. Number of results per page. |
Request Example
cURL
curl -X GET "https://api.formbold.com/api/forms/YOUR_FORM_ID/submissions?page=1&limit=10" \
-H "Authorization: Bearer YOUR_API_TOKEN"Success Response (200)
{
"data": [
{
"id": 123,
"data": {
"name": "John Doe",
"email": "john@example.com",
"message": "Hello!"
},
"created_at": "2024-05-11T10:30:00.000Z"
}
],
"meta": {
"pagination": {
"total": 150,
"count": 10,
"per_page": 10,
"current_page": 1,
"total_pages": 15,
"links": {
"previous": null,
"next": "https://api.formbold.com/api/forms/YOUR_FORM_ID/submissions?page=2"
}
}
}
}Error Responses
| Code | Message | Description |
|---|---|---|
400 | HTTP API is not enabled! | You must enable HTTP API Access in the form settings. |
401 | Unauthorized | Your token is invalid or the Bearer prefix is missing. |
404 | Not Found | The form ID provided does not exist. |
429 | Too Many Requests | You have exceeded your plan’s rate limits. |