Flowise Proxy API

This API provides a secure proxy layer for Flowise chatbot interactions with additional features:

Available Endpoints

GET /api

Health check and API information endpoint.

POST /api/v1/heygen/token

Generate a temporary HeyGen API token for video generation.

POST /api/v1/deepgram/token

Generate a temporary Deepgram API token for speech-to-text.

POST /api/v1/prediction/:id

Make a prediction request to a specific chatflow. Replace :id with your chatflow identifier.

GET /api/v1/public-chatbotConfig/:id

Get public configuration for a chatbot. Replace :id with your chatflow identifier.

GET /api/v1/chatflows-streaming/:identifier

Streaming endpoint for chat responses. Can be accessed in two ways:

GET /api/v1/attachments/:id/:chatId

Handle file attachments for chat conversations.

GET /web.js

Serve the chatbot embed script. Use this URL in your embed code.

Embedding the Chat

To embed the chat on your website, add the following code:

<script type="module">
  import Chatbot from '/web.js'
  Chatbot.init({
    chatflowid: 'your-identifier-here',
    apiHost: 'https://your-api-host'
  })
</script>

Security Features