Launch Chat Agents

Synthflow offers two ways to launch a chat agent: API integration and an embeddable chat widget for your website or app.

1. API Integration

After deploying your chat agent, you can start a new chat conversation programmatically using the API:

$curl --location 'https://api.synthflow.ai/v2/chat/{chat_id}' \
> --header 'Content-Type: application/json' \
> --data '{
> "model_id": "{model_id}",
> "metadata": {}
> }'
  • Replace {chat_id} with a unique UUID for the conversation.
  • Replace {model_id} with the ID of your chat agent.

You can use this endpoint to send and receive messages, manage sessions, and integrate chat into any custom application.

2. Embeddable Chat Widget

Synthflow provides an out-of-the-box chat widget you can embed on your website or in your app:

  1. Create a chat agent in the Synthflow dashboard.
  2. Go to the chat agent’s Settings and Deployment tab.
  3. Copy the provided embed code.
  4. Paste the embed code into your website or application where you want the chat widget to appear.

The widget is fully managed by Synthflow, making it easy to add conversational AI to your site with minimal setup.

Frequently asked questions

What is pricing for chat?

Every 5 messages sent by Synthflow counts as 1 billable minute, charged at your plan’s per-minute rate. This is a platform-level fee. If you use SMS or WhatsApp through Twilio, standard Twilio messaging fees apply on top.

Yes! You can use either a single prompt or a flow designer configuration for your chat agent.

Chat will be shortly integrated into the analytics platform.