
If you've been building on Bubble.io for more than a few weeks, you've probably hit a point where you need your app to talk to something outside of Bubble, a payment processor, an AI service, a CRM, a mapping tool, a third-party database. That's where the Bubble API and its API Connector plugin come in, and understanding how they work is one of the most important skills you can develop as a no-code builder.
This Minimum Code article breaks down both concepts clearly: what the Bubble API is, what the API Connector does, how they differ, and how to use them effectively in your projects. The best way to improve your workload is hiring a bubble developer.
What is an API, and why does it matter in Bubble?
An API (Application Programming Interface) is essentially a set of rules that allows one piece of software to communicate with another. When your Bubble app needs to send a payment through Stripe, pull a location from Google Maps, or generate text with OpenAI, it does that through an API. The external service exposes a set of endpoints, URLs that accept requests and return data, and your app sends and receives information through those endpoints.
In traditional development, working with APIs requires writing server-side code to handle requests, parse responses, and manage authentication. In Bubble, most of that complexity is abstracted into a visual interface. You configure your API calls through settings panels rather than code, which makes integration accessible even to non-technical builders, while still giving experienced developers plenty of depth to work with.
Bubble API vs. the API Connector: what's the difference?
These two things sound similar but serve opposite directions of communication.
The Bubble API is your app's own API, the set of endpoints Bubble automatically exposes for your application's data and workflows. External systems can use it to read from or write to your Bubble database, trigger backend workflows, and interact with your app programmatically. If you're building something that needs to receive data from another system, a webhook from Stripe, an event trigger from an external service, or a connection from another app, the Bubble API is what handles those inbound requests.
The API Connector is a plugin (built by Bubble) that handles outbound connections, when your Bubble app sends a request to an external service. It's how you connect to Stripe, OpenAI, Google services, your own external database, or essentially any third-party tool that exposes a REST API.
In short: the Bubble API receives requests from outside. The API Connector sends requests to the outside. Most apps use both.
What the API Connector actually does
The API Connector is a plugin you install from the Bubble plugin marketplace. Once installed, it lives in your app's plugin settings and lets you configure API connections visually, no code required for most standard integrations.
Here's what you can do with it:
Connect to any REST API. If an external service exposes a JSON-based RESTful API, you can connect to it. That covers the vast majority of modern web services: payment processors, AI providers, email platforms, analytics tools, mapping services, CRMs, and more.
Set up authentication. The API Connector supports the most common authentication methods, API keys, Bearer tokens, OAuth 2.0, and basic authentication. You configure these once at the API level, and they apply automatically to every call you make to that service.
Define individual API calls. Within each API connection, you create individual calls, each one targeting a specific endpoint with specific parameters. You can define GET calls to fetch data, POST calls to send data or trigger actions, PUT calls to update existing records, and DELETE calls to remove them.
Use API data in your app. Once you've set up and initialized a call, Bubble recognizes the structure of the response and lets you use that data anywhere in your app, in workflows, in repeating groups, in conditionals, and more. The API Connector essentially maps external data types into Bubble's data system.
Trigger API calls from workflows. You can call an API endpoint as a workflow action, for example, when a user submits a form, triggers a POST call to your payment provider, then use the response to update a record in your database.
Setting up your first API call
The setup process follows the same pattern regardless of which external service you're connecting to.
First, install the API Connector from the Bubble plugin marketplace if it isn't already in your app. Then, in your plugins tab, open the API Connector and click "Add another API." Give it a name, something clear like "Stripe" or "OpenAI", and configure the shared settings for that service: the base URL, authentication method, and any shared headers.
Next, add individual calls within that API. For each call, you specify the endpoint path, the HTTP method (GET, POST, etc.), any parameters the API requires, and whether those parameters should be passed as URL parameters, as a JSON body, or as headers. You can also mark certain parameter values as dynamic, which means they'll be filled in at runtime by your Bubble workflows.
Before you can use a call in your app, you need to initialize it. This means running the call once with sample data so that Bubble can read the response structure and understand what data types it's working with. Once initialized, Bubble treats the API response as a recognized data type, which unlocks all the visual data-mapping tools you're used to.
Practical examples of what you can integrate
The API Connector opens up an enormous range of integrations. A few that come up most frequently in Bubble projects:
Payments. Stripe's API is one of the most common integrations in Bubble. While there's a dedicated Stripe plugin for basic transactions, complex use cases, like marketplace payouts with Stripe Connect, custom billing logic, or subscription management, often go through the API Connector directly for more precise control. If you're building a marketplace, see how Minimum Code handles this end-to-end in the Bubble marketplace app guide.
AI features. Connecting to OpenAI's API through the API Connector lets you add natural language processing, content generation, chat interfaces, and classification features to your app. This is one of the fastest-growing use cases for Bubble apps in 2026, and the API Connector handles it cleanly with a POST call to the completions or chat endpoint.
Mapping and geolocation. Google Maps APIs, Mapbox, and similar services integrate via the API Connector to power location-based features, distance calculations, geocoding addresses, rendering maps with custom markers, and more.
Email and messaging. Services like SendGrid, Mailgun, or Twilio can be connected to trigger transactional emails, SMS notifications, or WhatsApp messages directly from your Bubble workflows.
External databases. If your app architecture involves a separate backend, which is common for more complex or performance-sensitive products, you connect to it through the API Connector. This is a pattern Minimum Code uses regularly on larger projects, where a scalable backend handles data-heavy operations and Bubble handles the frontend and user experience. You can explore how this fits into the broader no-code web app development stack on the services page.
Common mistakes and how to avoid them
Not initializing calls correctly. If you skip or rush the initialization step, Bubble won't recognize your response data types properly and you'll run into errors when trying to use the data downstream. Always initialize with representative sample data that reflects real responses from the API.
Hardcoding values that should be dynamic. A common beginner mistake is entering fixed values for things like user IDs or record IDs in your API call setup. These should almost always be dynamic parameters, filled in by the workflow that triggers the call.
Ignoring error handling. APIs fail, rate limits get hit, credentials expire, endpoints change. Build error handling into your workflows from the start. Bubble lets you add steps that fire when an API call fails, which you should use to log errors, show user-friendly messages, or trigger fallback logic.
Overcomplicating the setup. It's tempting to configure every possible parameter upfront. In practice, start with the minimum required fields to get a working call, test it thoroughly, then expand. Simpler setups are easier to debug and maintain.
When to use a dedicated plugin vs. the API Connector
Bubble's plugin marketplace has hundreds of pre-built integrations, Stripe, Google Sheets, Airtable, Mailchimp, and many others. These plugins wrap common API interactions in an even simpler interface and are often the right starting point.
Use a dedicated plugin when it covers your exact use case and is actively maintained. Use the API Connector when you need functionality the plugin doesn't expose, when you want more control over request and response handling, or when you're connecting to a service that doesn't have a Bubble plugin yet.
For complex projects, particularly those with custom backend logic, multiple third-party integrations, or performance requirements, the API Connector is almost always involved. Getting it set up correctly from the start is worth the investment. If you're not sure where to start or your integration requirements are particularly complex, Minimum Code's Gold Bubble agency team handles API integration as a core part of every build.
The Bubble API: exposing your app to external systems
On the inbound side, Bubble automatically generates a Data API and a Workflow API for your application.
The Data API exposes your database tables as REST endpoints, allowing external systems to create, read, update, and delete records in your Bubble database without going through the app's front end. This is useful for connecting Bubble to external dashboards, syncing data between systems, or building integrations where another app needs to write data directly into your Bubble database.
The Workflow API lets external systems trigger backend workflows in your Bubble app by calling a specific endpoint. This is how you receive webhooks, for example, when Stripe sends a payment confirmation, it calls your Workflow API endpoint, which triggers a workflow that updates your database and sends a confirmation email.
Both APIs require proper authentication, you'll need to manage API keys and set appropriate privacy rules to control what external systems can access. Getting this right is critical for GDPR compliance and general data security, especially for apps handling user data in Europe. Minimum Code builds with these security requirements in mind from day one, which is part of the product discovery process for every new project.
FAQs - Frequently asked questions
Does the API Connector require coding skills?
For most standard integrations, no. You configure API calls through Bubble's visual interface, entering endpoints, parameters, and authentication settings into form fields. More advanced scenarios, like parsing complex nested response structures or handling custom authentication flows, may benefit from developer experience.
Can Bubble connect to any external API?
Any service that exposes a JSON-based RESTful API can be connected via the API Connector. This covers the vast majority of modern web services. GraphQL APIs and some legacy SOAP services may require additional handling or workarounds.
What's the difference between the Data API and the Workflow API? The Data API exposes your Bubble database, external systems can read and write records directly. The Workflow API exposes backend workflows, external systems can trigger specific actions in your app by calling a dedicated endpoint.
How do I handle API authentication securely in Bubble?
Use Bubble's built-in secrets manager to store API keys and tokens rather than entering them as plain text in your call configurations. For OAuth 2.0 integrations, the API Connector has a dedicated OAuth setup flow that handles token exchange and refresh automatically.
Can I use the API Connector to connect two Bubble apps?
Yes. Each Bubble app has its own Data API and Workflow API, and you can call one app's API from another app's API Connector. This is useful for modular architectures where different parts of a product live in separate Bubble apps.
Is there a limit to how many API calls my app can make?
In practice, the limits that matter most are your Bubble app’s capacity, workflow design, and the rate limits of the external API you’re calling.For high-volume applications, it's worth reviewing Bubble's plan tiers and designing your workflows to batch or cache API calls where possible.
API for everyone
Getting comfortable with the Bubble API and API Connector unlocks a significant portion of what makes Bubble a serious platform for building real products. If you're building something complex and want expert guidance on how to structure your integrations properly, book a free discovery call with our founder Tom to discuss your project.
.avif)

Ready to build your product?





_%20Which%20Is%20Right%20for%20Your%20MVP_.png)