English
English
Appearance
English
English
Appearance
A walkthrough of the main Repliz API features and how to use them.
Repliz lets you connect and manage multiple social media accounts from a single workspace. Supported platforms:
Each platform has its own OAuth flow. The general steps are:
# Step 1: Get the authorization URL
curl -X GET "https://api.repliz.com/public/account/facebook/authorize" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"
# Step 2: After the user authorizes, exchange the code
curl -X POST "https://api.repliz.com/public/account/facebook/exchange" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)" \
-H "Content-Type: application/json" \
-d '{ "code": "AUTH_CODE_FROM_REDIRECT" }'
# Step 3: Connect a specific page
curl -X POST "https://api.repliz.com/public/account/facebook/connect" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)" \
-H "Content-Type: application/json" \
-d '{ "pageId": "PAGE_ID", "token": "PAGE_ACCESS_TOKEN" }'See the OAuth Flow Guide for the full flow on every platform.
The Comment Queue is at the heart of Repliz's comment management. Comments from all connected platforms are collected and stored in a unified queue.
New Comment → [Pending] → [Resolved] or [Ignored]# Fetch pending comments
curl -X GET "https://api.repliz.com/public/comment?page=1&limit=20&status=pending" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"
# Reply to a comment
curl -X POST "https://api.repliz.com/public/comment/COMMENT_ID" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)" \
-H "Content-Type: application/json" \
-d '{ "message": "Thank you for your feedback!" }'
# Mark as resolved
curl -X PUT "https://api.repliz.com/public/comment/COMMENT_ID/status" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)" \
-H "Content-Type: application/json" \
-d '{ "status": "resolved" }'Schedule posts across multiple platforms with support for various content types.
| Type | Description | Platforms |
|---|---|---|
text | Text-only post | Facebook, Threads, LinkedIn, X (Twitter), WhatsApp, Telegram |
image | Single image with caption | Facebook, Instagram, Threads, TikTok, LinkedIn, X (Twitter), WhatsApp, Telegram, Pinterest |
video | Single video | Facebook, Instagram, Threads, TikTok, YouTube, LinkedIn, Shopee, X (Twitter), WhatsApp, Telegram, Pinterest |
reel | Short-form video | |
album | Multiple images/videos | Facebook, Instagram, Threads, TikTok, LinkedIn, X (Twitter), Pinterest |
link | Link with preview | |
story | Temporary content | Facebook, Instagram |
curl -X POST "https://api.repliz.com/public/schedule" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)" \
-H "Content-Type: application/json" \
-d '{
"title": "",
"description": "Check out our latest update!",
"type": "text",
"medias": [],
"meta": { "title": "", "description": "", "url": "" },
"additionalInfo": {
"isAiGenerated": false,
"isDraft": false,
"isAutoAddMusic": false,
"isShareToFeed": false,
"collaborators": [],
"mentions": [],
"music": { "id": "", "artist": "", "name": "", "thumbnail": "", "volume": { "video": 50, "music": 100 } },
"products": [],
"tags": []
},
"replies": [],
"accountId": "YOUR_ACCOUNT_ID",
"scheduleAt": "2026-06-15T10:00:00.000Z"
}'replies arrayManage direct messages from all connected platforms in one place.
# List all conversations
curl -X GET "https://api.repliz.com/public/chat?page=1&limit=20" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"
# Send a text message
curl -X POST "https://api.repliz.com/public/chat/CHAT_ID/message" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)" \
-H "Content-Type: application/json" \
-d '{ "type": "text", "text": "Hello! Thanks for reaching out." }'
# Mark chat as read
curl -X POST "https://api.repliz.com/public/chat/CHAT_ID/read" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"Track engagement metrics for your published content across platforms.
# Get content list
curl -X GET "https://api.repliz.com/public/content?accountId=ACCOUNT_ID" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"
# Get engagement statistics
curl -X GET "https://api.repliz.com/public/content/CONTENT_ID/statistic" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"Browse trending music on TikTok by genre and country:
curl -X GET "https://api.repliz.com/public/addon/tiktok/music?genre=ALL&countryCode=ID&dateRange=7DAY" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"Fetch product details from connected Shopee accounts:
curl -X GET "https://api.repliz.com/public/addon/shopee/product?accountId=ACCOUNT_ID" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"List the Channels and groups a connected WhatsApp number can post to, for use as additionalInfo.channel on a schedule:
curl -X GET "https://api.repliz.com/public/addon/whatsapp/channel?accountId=ACCOUNT_ID" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"List the channels and groups a connected Telegram account can post to, for use as additionalInfo.channel on a schedule. Keep each item's type, because it decides whether a post goes to a channel or a group:
curl -X GET "https://api.repliz.com/public/addon/telegram/channel?accountId=ACCOUNT_ID" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"List the boards of a connected Pinterest account. A Pinterest schedule always needs one of them as additionalInfo.channel, and additionalInfo.link sets the page the pin opens:
curl -X GET "https://api.repliz.com/public/addon/pinterest/board?accountId=ACCOUNT_ID" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"Extract metadata from any URL for link previews:
curl -X GET "https://api.repliz.com/public/addon/link/metadata?url=https://repliz.com" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"