Skip to main content
BuoyForms
Docs

BuoyForms API

OpenAPI 3.1.0Version 1.0.0139 operations

Overview and authentication

REST API for programmatic access to BuoyForms data. Create, manage, and collect form submissions with full API access.

Authentication

Authenticated /api/v1 endpoints require an API key. You can generate API keys from your organization settings at /app/settings/api-keys.

API keys are prefixed with bf_ and should be kept secret. The full key is only shown once at creation time and cannot be retrieved later.

Include your API key in requests using one of these methods:

  • Authorization header: Authorization: Bearer bf_your_api_key_here
  • X-API-Key header: X-API-Key: bf_your_api_key_here

Example

curl -H "Authorization: Bearer bf_abc123..." \
  https://buoyforms.com/api/v1/forms

Public hosted/embed form runtime endpoints under /api/public do not require API keys. Those endpoints are rate-limited separately and may require a captchaToken when the form enables public bot protection.

Outbound Webhooks

Configured webhooks are delivered with Content-Type: application/json, X-BuoyForms-Signature, X-BuoyForms-Event, X-BuoyForms-Delivery, and an Idempotency-Key header. For form.submission.created, Idempotency-Key uses <submissionId>-<event>, for example sub_123-form.submission.created. Other submission events can repeat for one submission, so their key appends the payload timestamp: <submissionId>-<event>-<timestamp>. If a payload has no submission ID, BuoyForms falls back to <deliveryId>-<event>.

Delivery bodies have the shape { event, timestamp, organizationId, formId, submissionId, data }. Top-level submissionId is set for submission value-edit, review, and lifecycle events.

Event When data
form.submission.created A submission is received { id, formId, submitterEmail, submitterName, submittedAt, values }
form.submission.updated A PATCH or an edit on the Submission detail page changes at least one stored field value { submissionId, formId, updatedFields } (IDs of the fields whose values changed; values are not included)
form.submission.review_status.changed A submission's reviewStatus changes (API, bulk triage, or review workflow) { submissionId, formId, reviewStatus, previousReviewStatus }
form.submission.deleted A submission is soft-deleted, or permanently deleted without a prior soft delete (including when its form is permanently deleted) { submissionId, formId }
form.submission.restored A soft-deleted submission is restored { submissionId, formId }

form.created, form.updated, form.deleted, and form.published are accepted in a webhook's events list but are not currently delivered.

reviewStatus values are not_requested, pending, approved, and rejected. Bulk operations deliver one event per affected submission. When a form is permanently deleted, its form-scoped webhooks are deleted with it, so the form.submission.deleted events for its submissions reach Organization-wide webhooks only. A PATCH whose values all equal the stored values changes nothing and emits no form.submission.updated, so retrying the same PATCH does not produce a second delivery. Value-edit, review and lifecycle events are recorded in the same transaction as the submission change and enqueued for delivery at least once, so an outage delays them instead of dropping them. Their payload timestamp is when the change was recorded, so a re-enqueued event has the same body and Idempotency-Key; deduplicate on that header. Deliveries still retry a bounded number of times, so fetch the submission for its current state when an event matters.

Rate Limiting

Authenticated API requests are rate-limited per API key based on your subscription plan:

Plan Requests per minute
Free / Starter / Professional 10
Business 100
Scale 500
Enterprise 2,000

Rate limit headers are included in all responses:

  • X-RateLimit-Limit: Maximum requests per window
  • X-RateLimit-Remaining: Requests remaining in current window
  • X-RateLimit-Reset: Unix timestamp when the window resets
  • Retry-After: Seconds until you can retry (only present when rate limited)

Scopes

API keys can be configured with specific scopes to limit access:

  • * - Full API access for the organization
  • forms:* - Read and write all form resources
  • forms:read - Read form definitions and metadata
  • forms:write - Create and update forms
  • forms:publish - Enable and disable forms
  • forms:ownership - Reassign form ownership within the organization
  • submissions:* - Read and write all submission resources
  • submissions:read - Read form submissions and mint download URLs for non-sensitive uploaded submission files
  • submissions:write - Create new submissions programmatically and manage submission lifecycle
  • submissions:sensitive_read - Reveal encrypted sensitive submission values and mint download URLs for uploaded files in sensitive fields
  • webhooks:* - Read and manage all webhook resources
  • webhooks:read - Read webhook configurations and delivery logs
  • webhooks:write - Create, test, retry, and manage webhooks
  • automations:* - Read and manage all automation workflows
  • automations:read - Read automation workflows, versions, operations, runs, and approvals
  • automations:write - Create and update automation drafts
  • automations:publish - Publish, pause, and roll back automation workflows
  • automations:operate - Run automation tests and manage run cancel, retry, replay, and repair actions
  • automations:approve - Decide or cancel pending human-in-the-loop automation approvals
  • automations:sensitive_data - Allow automation operations that reference sensitive fields
  • themes:* - Read and manage all organization themes
  • themes:read - Read themes, versions, and exports
  • themes:write - Create, update, import, restore, apply, and delete themes
  • analytics:* - Read all form analytics and text analysis resources
  • analytics:read - Read form analytics summaries, field breakdowns, and text analysis
  • integrations:* - Read and manage all form integrations
  • integrations:read - Read form integration configurations and sync status
  • integrations:write - Create, update, and trigger form integrations

Each endpoint documents which scope is required. If your API key lacks the necessary scope, the request returns 403 Forbidden with the required scope in the error message. Namespace wildcards like forms:* and the global wildcard * also satisfy the corresponding endpoint requirements.

Pagination

List endpoints support pagination via limit and offset query parameters. Responses include a pagination object with limit, offset, and total fields so you can calculate how many pages remain.

Errors

All error responses follow a consistent format with error (machine-readable code) and message (human-readable description) fields. See the Error schema for details.

/api/v1

139 operations

Forms

Endpoints for listing, retrieving, editing, validating, patching, and enabling form definitions.

Integrations

Automations

Endpoints for managing form automation workflows, versions, runs, and approvals.

Themes

Endpoints for managing organization themes and form theme assignments.

Submissions

Endpoints for listing, retrieving, validating, uploading files to, and managing form submissions. Read operations require submissions:read, write operations require submissions:write, and sensitive data operations require submissions:sensitive_read.

Webhooks

Endpoints for managing webhook configurations and delivery history. Read operations require webhooks:read, write operations require webhooks:write.

Public Forms

Unauthenticated endpoints used by hosted, embedded, and respondent-agent public forms. These endpoints do not require API keys. When a form enables public bot protection, submission requests must include a captchaToken from the public form runtime.

Analytics

Endpoints for retrieving form funnel metrics, field breakdowns, and AI text analysis.

MCP