Overview of Flow Socket API
Learn about using the socket API and discover its different use cases.
The Flow Socket API is a real-time messaging API that allows you to send and receive messages from Flow using web sockets.
The Flow Socket API enables developers to integrate Flow's conversational AI into a variety of client-facing applications, thereby facilitating the creation of customized, interactive user experiences through natural language processing and intelligent responses. This integration enhances customer interactions and automates processes.
For instance:
- Creating a custom web chat widget
- Integrating Flow within a mobile application
Note
We provide a Javascript SDK and iOS a Swift SDK to assist you with building the web client API.
For server integrations, we advise you to take a look at our Flow REST API.
Get started with Flow Socket
Here is a general overview of how you'll use the API:
- Request a Socket endpoint (GET)
- Open a Socket connection (WSS)
- Send messages and receive messages messages
- Keep the connection alive.
Updated 20 days ago