Build with RSFlowHub AI
Integrate powerful AI capabilities into your product using our REST APIs. Everything you need - authentication, live examples, and reference docs.
How RSFlowHub works
Production-grade AI gateway designed for deterministic machine-to-machine integrations.
Direct System Definition
RSFlowHub is a developer-first REST microservice platform that standardizes access to modern large language models. Rather than writing prompts and parsing unformatted text completions, developers call specialized endpoints (such as intent detection, sentiment analysis, email workflow generation, and translation) that return clean, structured JSON envelopes. Requests usually complete in 1 to 3 seconds, fail over to a backup AI provider automatically, and are billed through atomic credit pre-authorization so you are never charged for failed calls.
Core Production Integration Rules
Never let HTTP clients wait forever, but allow 60 seconds: a call can wait for the AI and then try a backup model. The official SDKs use this default.
Retry 429 and transient 5xx errors with randomized jitter to eliminate thundering herd storms.
Credits are verified upfront and decremented atomically upon completion. Zero billing on validation failures.
Start here
Quickstart
First API call in under 2 minutes with cURL, Node, and Python examples.
Get started ->Authentication
Bearer token auth, API key management, rotation, and security best practices.
Read more ->Error Codes
Complete reference for all status codes and machine-readable error codes.
Reference ->Rate Limits
Per-plan request limits, the credit formula, and how to handle 429 responses.
Read more ->Official SDKs
Call every API from PHP, Node.js / TypeScript or Python with one package. The SDKs handle authentication, typed errors, retries and file uploads, and new APIs work without updating them.
composer require rsflowhub/rsflowhub-php
npm install rsflowhub
pip install rsflowhub
PHP
PHP 8.1+ · Laravel, Symfony, WordPress, any PHP app
PHP guide ->JavaScript / TypeScript
Node.js 18+ · Next.js, React (server side), Express, NestJS, Nuxt, SvelteKit
JavaScript / TypeScript guide ->Python
Python 3.9+ · Django, FastAPI, Flask, Celery, scripts and notebooks
Python guide ->All SDKs
Compare the SDKs, method naming in each language, and how they stay up to date.
Overview ->AI Chatbot Widget
Add an AI chatbot trained on your own content to any website with one script tag; no code to write. Colors, greeting, quick replies, lead capture and support tickets are all set in the dashboard, and changes appear without touching your site again.
<script src="https://rsflowhub.com/widget/v1/rsflowhub-widget.js"
data-widget-token="wt_sec_YOUR_WIDGET_TOKEN"
async></script>
Install guide
WordPress, Shopify, React and Next.js setup, domain restriction, the JavaScript API and troubleshooting.
Read the guide ->Product & demo
See the widget, lead capture and human handoff in action before you install it.
View the product ->Contact Forms & Newsletter
Drop a spam-protected contact form or newsletter signup into any page with one script tag, or post to the Forms API from your own form. Messages and subscribers land in your dashboard, with email alerts, AI spam checks and webhooks.
<script src="https://rsflowhub.com/widget/v1/rsflowhub-forms.js"
data-form-token="fm_sec_YOUR_FORM_TOKEN"
async></script>
Forms guide
Embed, customise fields, double opt-in newsletters, plans and limits.
Read the guide ->Forms API
Submit contact messages and newsletter signups from your own HTML or mobile app.
API reference ->All AI APIs
Every endpoint takes JSON and returns the same {success, request_id, data, meta} envelope. Use the search box above to filter.