← 返回
开发者工具 Key 中文

Repliz Api

Repliz social media management API integration. Use when working with Repliz to manage social media accounts, schedules, and comments. Requires REPLIZ_ACCESS...
Repliz 社交媒体管理 API 集成。用于管理账户、日程和评论,需 REPLIZ_ACCESS...
staryone staryone 来源
开发者工具 clawhub v1.0.2 1 版本 99928.7 Key: 需要
★ 3
Stars
📥 1,341
下载
💾 8
安装
1
版本
#latest

概述

Repliz API Skill

Prerequisites & Setup

Before using this skill, you must complete the following setup steps:

1. Register/Login to Repliz

  • Register: Visit https://repliz.com/register to create a new account
  • Login: Visit https://repliz.com/login to sign in to your existing account

2. Connect Social Media Accounts

After logging in, connect your social media accounts:

  • Go to your Repliz dashboard
  • Add and connect accounts like Instagram, Threads, TikTok, Facebook, LinkedIn, or YouTube
  • Ensure the accounts show as "connected" before proceeding

3. Obtain API Credentials

To get your Access Key and Secret Key for Basic Authentication:

  1. Navigate to https://repliz.com/user/setting/api
  2. Generate or copy your Access Key and Secret Key
  3. Store these credentials securely - they grant access to post, delete, and manage your social media content

4. Configure Environment Variables

This skill requires the following environment variables to be set:

export REPLIZ_ACCESS_KEY="your-access-key-here"
export REPLIZ_SECRET_KEY="your-secret-key-here"

## Authentication

All API requests require **Basic Authentication** in the header:
- **Username**: $REPLIZ_ACCESS_KEY
- **Password**: $REPLIZ_SECRET_KEY
- **Base URL**: `https://api.repliz.com`

## API Endpoints

### Accounts

**GET /public/account**
- Query params: `page` (default 1), `limit` (default 10), `search` (optional)
- Returns list of connected social media accounts
- Fields: `_id`, `generatedId`, `name`, `username`, `picture`, `isConnected`, `type` (instagram/threads/tiktok/etc), `userId`, `createdAt`, `updatedAt`

**GET /public/account/{_id}**
- Get account details by ID (use `_id` field from account list)
- Returns full account info including `token.access` for posting

---

### Schedules

**GET /public/schedule**
- Query params: `page`, `limit`, `accountIds` (can be repeated)
- Returns scheduled posts

**GET /public/schedule/{_id}**
- Get schedule details by ID

**POST /public/schedule**
- Create new scheduled post. Request body varies by type:

Text post (Facebook, Threads):

{

"title": "",

"description": "Your post text",

"type": "text",

"medias": [],

"scheduleAt": "2026-02-14T10:35:09.658Z",

"accountId": "680affa5ce12f2f72916f67e"

}


Image post (Facebook, Instagram, Threads, TikTok, LinkedIn):

{

"title": "",

"description": "Caption",

"type": "image",

"medias": [{"type": "image", "thumbnail": "url", "url": "url", "alt": "description"}],

"scheduleAt": "2026-02-14T10:35:09.658Z",

"accountId": "680affa5ce12f2f72916f67e"

}


Video post (Facebook, Instagram, Threads, TikTok, YouTube, LinkedIn):

{

"title": "Hello there, this is from Repliz",

"description": "Hello there, this is from Repliz",

"type": "video",

"medias": [

{

"type": "video",

"thumbnail": "thumbnail-url",

"url": "video-url"

}

],

"scheduleAt": "2026-02-14T10:35:09.658Z",

"accountId": "680affa5ce12f2f72916f67e"

}


Album post (Facebook, Instagram, Threads, TikTok, LinkedIn):

{

"title": "Hello there, this is from Repliz",

"description": "Hello there, this is from Repliz",

"type": "album",

"medias": [

{

"type": "image",

"thumbnail": "thumbnail-url-1",

"url": "image-url-1",

"alt": "alt-image-1"

},

{

"type": "image",

"thumbnail": "thumbnail-url-2",

"url": "image-url-2",

"alt": "alt-image-2"

},

{

"type": "image",

"thumbnail": "thumbnail-url-99",

"url": "image-url-99",

"alt": "alt-image-99"

},

],

"scheduleAt": "2026-02-14T10:35:09.658Z",

"accountId": "680affa5ce12f2f72916f67e"

}


Story post (Facebook, Instagram):

{

"title": "",

"description": "",

"type": "story",

"medias": [

{

"type": "image or video", // you can choose

"thumbnail": "thumbnail-url",

"url": "media-url"

}

],

"scheduleAt": "2026-02-14T10:35:09.658Z",

"accountId": "680affa5ce12f2f72916f67e"

}


Instagram post with additional info:

{

"title": "Hello there, this is from Repliz",

"description": "Hello there, this is from Repliz",

"type": "video",

"medias": [

{

"type": "video",

"thumbnail": "thumbnail-url",

"url": "video-url"

}

],

"additionalInfo": {

"collaborators": [

"usernameCollab1",

"usernameCollab2",

"usernameCollab3"

]

},

"scheduleAt": "2026-02-14T10:35:09.658Z",

"accountId": "680affa5ce12f2f72916f67e"

}


Nested/Thread post (Threads):

{

"title": "",

"description": "First Post",

"type": "text",

"medias": [],

"scheduleAt": "2026-02-14T10:35:09.658Z",

"accountId": "680affa5ce12f2f72916f67e",

"replies": [

{"title": "", "description": "Second Post reply First Post", "type": "text", "medias": []},

{"title": "", "description": "Third Post reply Second Post", "type": "text", "medias": []}

]

}


**DELETE /public/schedule/{_id}**
- Delete scheduled post (cannot be recovered)

---

### Comment Queue

**GET /public/queue**
- Query params: `page`, `limit`, `search`, `status` (pending/resolved/ignored), `accountIds` (can be repeated)
- Returns comment queue from social media

**GET /public/queue/{_id}**
- Get queue item details

**POST /public/queue/{_id}**
- Reply to comment (automatically marks as resolved)

{

"text": "Your reply"

}


---

## Error Handling

- `401`: Invalid authorization header
- `404`: Not found
- `500`: Internal server error

## Notes

- `accountId` for posting comes from `_id` field in account list
- `scheduleAt` uses ISO 8601 format with timezone (e.g., `2026-02-14T10:35:09.658Z`)
- Queue status can be: pending, resolved, ignored

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-29 09:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Marketing Mode

thesethrose
{"answer":"营销模式整合23项全能技能,涵盖策略、心理、内容、SEO、转化优化及付费增长。适用于营销策略、文案、SEO、转化优化、付费广告及各类营销战术需求。"}
★ 161 📥 24,942
content-creation

humanizer-zh

liuxy951129-cpu
去除文本中的 AI 生成痕迹。适用于编辑或审阅文本,使其听起来更自然、更像人类书写。 基于维基百科的"AI 写作特征"综合指南。检测并修复以下模式:夸大的象征意义、 宣传性语言、以 -ing 结尾的肤浅分析、模糊的归因、破折号过度使用、三段
★ 55 📥 28,213
content-creation

Marketing Skills

jchopard69
{"answer":"获取23个营销模块,包含CRO、SEO、文案、分析、发布、广告及社媒的清单、框架与现成交付物。"}
★ 142 📥 30,293