Language Agnostic
Works with any programming language. Use HTTP webhooks or WebSocket with plain JSON - no SDK required.
Build AI-powered voice assistants with real-time speech processing
sipgate AI Flow is a platform for building AI-powered voice assistants with real-time speech processing capabilities. Whether you're building customer service bots, IVR systems, or interactive voice applications, the API works with any programming language using HTTP webhooks or WebSocket.
The API uses plain JSON over HTTP/WebSocket - no SDK required. Examples are provided in Python, Node.js, Go, Ruby, and more.
If you're using TypeScript, we also provide a convenient SDK that wraps the API for easier development.
Python:
@app.route('/webhook', methods=['POST'])
def webhook():
event = request.json
if event['type'] == 'user_speak':
return jsonify({
'type': 'speak',
'session_id': event['session']['id'],
'text': f"You said: {event['text']}"
})
return '', 204Node.js:
app.post('/webhook', (req, res) => {
const event = req.body;
if (event.type === 'user_speak') {
return res.json({
type: 'speak',
session_id: event.session.id,
text: `You said: ${event.text}`
});
}
res.status(204).send();
});Or use our TypeScript SDK:
import { AiFlowAssistant } from "@sipgate/ai-flow-sdk";
const assistant = AiFlowAssistant.create({
onUserSpeak: async (event) => {
return `You said: ${event.text}`;
},
});
app.post("/webhook", assistant.express());Using Claude Code, ChatGPT, Cursor, or other AI coding assistants? Download our LLM Reference - a single comprehensive document containing all API and SDK knowledge optimized for code generation.