Bubble Development

Bubble.io API: How to Use the Data API and Workflow API

How Bubble.io's Data API and Workflow API work: endpoints, authentication, privacy rules, webhooks, test vs live versions and security best practices.

Athar Ahmad
Reviewed by Athar AhmadFounder & CEO · Written by the SA Solutions team
Published May 2, 2026 Updated October 23, 2026 4 min read
On this page
  1. Incoming vs outgoing APIs
  2. The Data API
  3. The Workflow API
  4. Authentication and security
  5. Test and live versions
  6. Common use cases
  7. Frequently asked questions
  8. Need your app connected to other systems?

Most people know Bubble.io’s API Connector, which lets your app call other services. Fewer use the other direction: Bubble.io’s own API, which lets other systems talk to your app. With the Data API and Workflow API you can receive webhooks, sync data with other tools, power a separate mobile app or let automation platforms create and update records. This guide explains both APIs, how to secure them and when to use each.

In this guide
  1. Incoming vs outgoing APIs
  2. The Data API
  3. The Workflow API
  4. Authentication and security
  5. Test and live versions
  6. Common use cases
  7. FAQ

Incoming vs outgoing APIs

  API Connector Data API Workflow API
Direction Your app calls others Others access your data Others trigger your logic
Typical use Payments, email, AI, CRMs Syncing and reporting Webhooks and integrations
Logic runs In your workflows None; direct data access In your backend workflow

For outgoing calls, see the API Connector guide.

The Data API

Once enabled in Settings, the Data API exposes the data types you choose through standard REST endpoints. Each data type has its own endpoint for listing and searching records, getting a single record by its unique ID, and creating, modifying or deleting records, using the usual GET, POST, PATCH and DELETE methods. Searches accept constraints and sorting, and results are returned in pages.

  • Good for: reporting tools, data syncs, backups and simple integrations
  • Watch out for: it bypasses your workflow logic, so validations and side effects such as notifications do not run
  • Expose only what is needed: enable each data type deliberately rather than all of them

The Workflow API

The Workflow API exposes backend workflows as endpoints. An external service sends a request with parameters, and your workflow runs: creating records, sending emails, calling other APIs and returning a response if needed. Because your logic runs, validations and side effects happen exactly as they would inside the app.

  • Good for: webhooks from Stripe, forms, automation tools and partner systems
  • Define parameters clearly: each parameter has a type, and you can detect the data automatically from a sample request
  • Respond properly: return a success or error response so the sending service knows what happened

For scheduling, bulk jobs and workflow design, see our backend workflows guide.

Authentication and security

Method Access level Use for
Admin API token Full access, bypasses privacy rules Trusted server-to-server integrations only
User authentication Acts as that user; privacy rules apply Separate front-ends or mobile apps acting for a user
No authentication Public Rarely; only for endpoints that validate requests themselves

Treat the admin token like a master password. Never place it in a browser, mobile app or public code. Rotate it if it may have been exposed.

For public webhook endpoints, verify the request before acting, for example by checking a shared secret or confirming the event with the sending service’s API. Privacy rules remain your main protection for user data; see privacy rules.

Test and live versions

Bubble.io has separate endpoints for the development (test) version and the live version of your app, each with its own database. Use test endpoints while building, then update every external service to the live endpoints after deploying. A common launch bug is a webhook still pointing at the test version.

Common use cases

  • Payment webhooks: Stripe confirms payments to a Workflow API endpoint; see Stripe subscriptions in Bubble.io
  • Automation platforms: tools such as Zapier or Make create records via the Workflow API; see Bubble.io vs Zapier
  • Website forms: a marketing site sends leads into your Bubble.io CRM
  • Reporting: a BI tool reads data through the Data API
  • Partner integrations: clients’ systems push orders or updates into your app

Frequently asked questions

What is the difference between the Data API and the Workflow API in Bubble.io?

The Data API lets external systems read, create, update and delete records in your Bubble.io database directly. The Workflow API lets them trigger a backend workflow that you have exposed, so your own logic runs on the incoming data.

How do I enable the Bubble.io API?

Go to Settings, then the API tab. Enable the Data API and choose which data types to expose, and enable the Workflow API to expose backend workflows. Then generate an API token for server-to-server access.

Do privacy rules apply to the Bubble.io Data API?

Yes, when requests are made as a user. Requests authenticated with an admin API token bypass privacy rules, so treat that token like a master password and keep it on servers only.

How do I receive webhooks in Bubble.io?

Create a backend workflow, expose it as a public API workflow, and give the sending service its URL. Use the test version URL while building and switch to the live URL after deploying.

Is it safe to expose my Bubble.io data through the API?

It can be, if you only expose the data types and workflows you need, keep admin tokens secret, rely on privacy rules for user-level access and validate every incoming request before acting on it.

Need your app connected to other systems?

Book a free Idea Audit. We design secure APIs, webhooks and integrations as part of every build.

Book a free Idea AuditExplore Bubble.io development

Athar Ahmad
Athar AhmadFounder & CEO, SA Solutions · Certified Bubble.io Developer

Athar has spent more than 8 years building digital products and leads every SA Solutions project, from Bubble.io apps to AI automation for small and growing businesses. Read our editorial standards.

Other posts

Ready to build your product?

Book a free 30-minute call, or hire a certified Bubble.io developer.

Book a free callHire a Bubble developer