Skip to main content

How do I set up API Streaming?

Sofia Maconi avatar
Written by Sofia Maconi
Updated over 2 months ago

Please see the steps below to get started, and refer to our documentation for a more detailed guide on how to set up and stream API responses.

  1. Set up an API call to the service of your choice

  2. Set the data type as stream

  3. Make sure to add “stream”: true or the equivalent parameter to your API call (based on the service you are calling — check their docs)

  4. Select the values you want returned in the stream after initializing the API call

  5. Just like regular JSON API calls, streaming APIs can be used both as a data source and within workflows. Make sure you check our documentation at this step, since Bubble behaves slightly differently on the client side versus the server side.

Did this answer your question?