Persona & Brand Voice Control
Select between friendly, professional, witty, empathetic, or casual brand voice personalities.
Social comment reply generation API with brand tone control, product context, and custom call-to-actions.
https://rsflowhub.com/api/v1/ai/comment-reply
X-API-Key header{
"comment": "Do you ship to Mumbai? I would love to order this today!",
"business_name": "ArtisanFootwear",
"business_context": "We are an artisanal e-commerce shop delivering worldwide. Shipping is free within India.",
"platform": "Instagram",
"tone": "friendly",
"instructions": "Include a call to action to visit the link in bio."
}
{
"result": {
"reply_text": "Thanks so much! It is available in our store right now, link in bio.",
"language": "en",
"tone": "friendly"
}
}
Smart Social Media Comment Reply Generator API is a REST API on RSFlowHub for web, mobile and AI agent applications. Send a JSON request to POST /api/v1/ai/comment-reply with your API key; RSFlowHub runs it on a tuned AI model, falls back to a backup provider if needed, and returns a structured JSON result, usually within 1 to 3 seconds.
Try it without code or signup: Free whatsapp business reply generator
POST /api/v1/ai/comment-replyX-API-Key headerSend these fields as a JSON body. An invalid or missing field returns a 422 error that names the field.
| Field | Type | Required | Description |
|---|---|---|---|
comment |
string | Required | The social media comment text (Max: 5,000 characters). |
business_name |
string | Optional | Optional business name to include in greeting or signature. |
business_context |
string | Optional | Optional business operational details context. |
post_context |
string | Optional | Optional post text context. |
product_context |
string | Optional | Optional product catalogs, details, or context. |
platform |
string | Optional | Optional social media platform name. |
tone |
string | Optional | Response tone. Options: "professional", "friendly", "casual", "empathetic", "concise". Default is "professional". |
language |
string | Optional | Optional response language. |
instructions |
string | Optional | Optional custom instructions to follow. |
Copy, replace rfh_your_api_key with your key and run. Prefer a client library? See the official SDKs.
curl -X POST "https://rsflowhub.com/api/v1/ai/comment-reply" \
-H "Content-Type: application/json" \
-H "X-API-Key: rfh_your_api_key" \
-d '{"comment":"Do you ship to Mumbai? I would love to order this today!","business_name":"ArtisanFootwear","business_context":"We are an artisanal e-commerce shop delivering worldwide. Shipping is free within India.","platform":"Instagram","tone":"friendly","instructions":"Include a call to action to visit the link in bio."}'
<?php
$client = new \GuzzleHttp\Client();
$response = $client->post('https://rsflowhub.com/api/v1/ai/comment-reply', [
'headers' => [
'Content-Type' => 'application/json',
'X-API-Key' => 'rfh_your_api_key',
],
'json' => array (
'comment' => 'Do you ship to Mumbai? I would love to order this today!',
'business_name' => 'ArtisanFootwear',
'business_context' => 'We are an artisanal e-commerce shop delivering worldwide. Shipping is free within India.',
'platform' => 'Instagram',
'tone' => 'friendly',
'instructions' => 'Include a call to action to visit the link in bio.',
),
]);
echo $response->getBody();
const response = await fetch('https://rsflowhub.com/api/v1/ai/comment-reply', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'rfh_your_api_key'
},
body: JSON.stringify({"comment":"Do you ship to Mumbai? I would love to order this today!","business_name":"ArtisanFootwear","business_context":"We are an artisanal e-commerce shop delivering worldwide. Shipping is free within India.","platform":"Instagram","tone":"friendly","instructions":"Include a call to action to visit the link in bio."})
});
const data = await response.json();
console.log(data);
import requests
url = "https://rsflowhub.com/api/v1/ai/comment-reply"
headers = {
"Content-Type": "application/json",
"X-API-Key": "rfh_your_api_key"
}
payload = {"comment":"Do you ship to Mumbai? I would love to order this today!","business_name":"ArtisanFootwear","business_context":"We are an artisanal e-commerce shop delivering worldwide. Shipping is free within India.","platform":"Instagram","tone":"friendly","instructions":"Include a call to action to visit the link in bio."}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
Every RSFlowHub endpoint uses the same envelope, so one parser handles all of them. Failed calls are not charged.
{
"success": true,
"request_id": "req_3f9a2c7e-5b1d-4e8a-9c2f-7d6e1a0b4c8d",
"data": {
"result": {
"reply_text": "Thanks so much! It is available in our store right now, link in bio.",
"language": "en",
"tone": "friendly"
}
},
"meta": {
"version": "v1",
"timestamp": "2026-10-05T09:30:00Z"
}
}
{
"success": false,
"request_id": "req_8c1d4e2a-7f3b-4a9c",
"error": {
"code": "VALIDATION_ERROR",
"message": "The given data was invalid.",
"details": {
"comment": [
"This field is required."
]
}
},
"meta": {
"version": "v1",
"timestamp": "2026-10-05T09:30:00Z"
}
}
| Field | Type | Meaning |
|---|---|---|
success | boolean | true when the call worked, false on any error. |
request_id | string | Unique id for this call. Quote it when you contact support. |
data.result | object | The result of this endpoint (see the example). |
error | object | Only on failure: code, message and details per field. |
meta | object | API version and server timestamp. |
All error codes: Errors reference
Select between friendly, professional, witty, empathetic, or casual brand voice personalities.
Grounds responses in specific product features, pricing, store location, and business policies.
Automatically attaches custom conversion CTAs like "Check link in bio!", "DM us for a promo code!", or website links.
Generates native responses in 50+ languages with optional emoji frequency control.
How teams use the Smart Social Media Comment Reply Generator API in production.
Instantly generate friendly replies to buyer product questions on Instagram post comments with call-to-action to check link in bio.
Yes! We offer free shipping across India including Mumbai. Check out the link in our bio to place your order today! 🚚✨Drives social buyer traffic directly to online storefront.
Engage with video viewers by generating thoughtful, encouraging responses matching channel creator personality.
Thanks so much! Glad line 42 helped clear things up. More tutorials coming next week! 🙌Boosts YouTube comment section engagement and channel algorithm ranking.
Politely direct dissatisfied social media commenters to customer support DMs or helpdesk email.
We are so sorry for the delay! Please send us a direct message with your order number so we can prioritize this for you immediately.Moves public complaints to private resolution channels.
The same job done three ways.
| Topic | RSFlowHub API | Raw LLM prompts | Rules / regex |
|---|---|---|---|
| Output | Validated JSON fields | Free text you have to parse | Fixed patterns only |
| Setup | One POST request, no prompts | Write and maintain prompts and parsing | Write and maintain rule lists |
| Provider outage | Automatic fallback to a backup model | You build retries and a second vendor | Not applicable |
| Pricing | 2 credits per call, failed calls free | Per token, per vendor | Your own servers and upkeep |
| Understands context | Yes, AI model | Yes, AI model | No, keywords only |
Free plan with 100 credits/month + 1,000 bonus credits when you sign in before 23 Nov. Test it in the playground first, no code needed.
Flowy
AI assistant