FlutterFlow Docs
Search…
⌃K

API Calls

We allow you to build applications that can interact with external services using their APIs—for example, building a weather app that shows the current weather information using the APIs of Weather API or weatherapi.
If you are brand new to APIs, you may want to check out this in-depth APIs for beginners tutorial video.

What is an API?

The acronym API stands for Application Programming Interface. It lets a product or service (in this case, it's the app you are building ) communicate with other products and services through a secured channel without sharing much information about their implementation.
The two most popular API specifications are SOAP and REST. We won't go into much depth about these here, just to give you a brief idea:
  • SOAP: Simple Object Access Protocol uses XML for its message format and receives requests through HTTP or SMTP.
  • REST: The acronym for Representational State Transfer is an architectural style followed by various APIs. REST APIs are known for their fast performance & reliability.
Most of the Web APIs you will be dealing with are the REST APIs with JSON format; this is the most predominant specification now.

Methods of API Call

While defining a REST API Call, you will need to specify the type of HTTP request method.
You can select among the following method types while defining an API Call on FlutterFlow (expand the section to learn more):
GET request (Read data)
POST request (Create data)
DELETE request (Delete data)
PUT request (Replace data - updates the entire data)
PATCH request (Modify data - helps in partial update)
See a list of all response codes (HTTP status codes) that external services might return.
Let's see what all you need to know for adding an API call on the page below: