This document outlines how to connect to the Bubble.io API. You will find a list of cURL examples that can be reused with minimal changes required.
Connect to Data API
Natively Bubble allows all Data Types to be accessible via the Data API. This section will outline how to retrieve data from the Data API.
Bubble does require API Key configuration and security privileges set appropriately for each Data Type before the specific Data Type API is accessible.
cURL - K3 Super Store Sales
This api call uses the Bubble data api and returns Super Store Sales data used for K3 Demos.
curl "https://k3surveillance.bubbleapps.io/api/1.1/obj/Store%20Sales/?constraints=%5B%7B%22key%22%3A%20%22modified%20date%22,%22constraint_type%22%3A%22greater%20than%22,%22value%22%3A%222021-09-01T19%3A05%3A01%22%7D%5D" \
-H 'Authorization: Bearer [access_token]'
Click to copy