Getting Started
Quickstart
Make your first RsFlowHub AI API call in under 2 minutes.
1
Create an account & get your API key
Register for a free account. Navigate to Dashboard → API Keys and create a new key. Copy it somewhere safe — it is shown only once.
2
Send your first request
Call any endpoint with your API key in the Authorization header.
cURL
curl -X POST https://rsflowhub.com/api/v1/ai/content \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Write a short product description for a developer tool",
"provider": "openai",
"model": "gpt-4o-mini"
}'
JavaScript (fetch)
const res = await fetch('https://rsflowhub.com/api/v1/ai/content', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
prompt: 'Write a short product description for a developer tool',
provider: 'openai',
model: 'gpt-4o-mini',
}),
});
const data = await res.json();
console.log(data.data.content);
Python (requests)
import requests
response = requests.post(
'https://rsflowhub.com/api/v1/ai/content',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
json={
'prompt': 'Write a short product description for a developer tool',
'provider': 'openai',
'model': 'gpt-4o-mini',
}
)
print(response.json()['data']['content'])
3
Read the response
Every successful response follows the same contract:
JSON Response
{
"success": true,
"request_id": "req_w8x2b1l9zp",
"data": {
"content": "Supercharge your workflow with our intelligent developer tool...",
"provider": "openai",
"model": "gpt-4o-mini",
"prompt_length": 56,
"request_id": "req_w8x2b1l9zp"
},
"meta": {
"version": "v1",
"timestamp": "2026-04-12T18:00:00.000000Z"
}
}
Try it live
Use the API Playground to test any endpoint interactively — no code required.
Use the API Playground to test any endpoint interactively — no code required.