企业级 WhatsApp 自动化中枢
简介
来自 P-API 的 WhatsApp 商业 API 集成方案,支持消息群发、交互式组件及实例管理,助力企业构建全渠道客服与营销自动化系统。
原始描述
Automate WhatsApp messaging, interactive content, instance and group management, catalogs, and webhooks via a scalable microservices API with an admin panel.
通过你的 Agent 添加
安装目录:p-api/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
P-API 是一个面向企业用户的 WhatsApp 自动化 API 集成文档 Skill,基于微服务架构设计。用户通过配置基础 URL 和 API Key 即可调用完整的 WhatsApp Business API 能力:
- 消息发送:支持文本、图片、视频、音频、文档、位置、联系人、贴纸、表情回复等 9 种消息类型
- 交互组件:提供按钮(快速回复/URL跳转/拨打电话/复制文本)、列表菜单、轮播卡片、投票等高级交互能力
- 实例管理:创建/删除 WhatsApp 实例、获取 QR 码扫码登录、实时监控连接状态
- 群组运营:创建群组、获取元数据、管理成员权限(添加/移除/设管理员)
- Webhook 集成:配置消息接收端点,支持消息、状态等事件推送
- 生态扩展:内置 Typebot 对话流、Chatwoot 客服系统集成指南
Pro 版本额外支持电话呼叫、RCS 富媒体消息、短信群发、虚拟号码购买等电信级功能。
显著优点
- 功能完整性:覆盖 WhatsApp Business API 全能力,从基础消息到交互式商业组件
- 架构先进性:微服务架构,模块化设计支持独立扩展,适合高并发场景
- 管理便捷性:免费提供多语言 Admin Panel,支持实时监控和行为配置
- 生态开放性:预留与主流对话平台(Typebot/Chatwoot)的集成接口
- 安全设计:纯文档型 Skill 无可执行代码,用户自主管理 API 凭证
潜在缺点与局限性
- 外部服务依赖:完全依赖 P-API 第三方服务可用性,存在单点故障风险
- 合规复杂性:WhatsApp Business Policy 限制严格,需自行处理消息模板审核、用户授权管理
- 成本不确定性:免费 Admin Panel 与 Pro 功能(电话/RCS/短信)的定价策略文档未明确
- 地域限制:部分功能(虚拟号码、RCS)可能受运营商和地域限制
- 技术门槛:需自行部署 webhook 接收服务,非技术人员配置难度较高
适合人群
- 中小企业:需要自动化 WhatsApp 客服、营销通知、订单状态推送
- SaaS 开发者:构建基于 WhatsApp 的客户沟通模块或垂直行业解决方案
- 呼叫中心运营商:利用 Pro 版的电话呼叫、短信群发、号码轮换功能
- 电商平台:需要产品目录展示、购物车提醒、支付确认等交互场景
常规风险
- 账号封禁风险:WhatsApp 对 API 滥用(垃圾信息、非授权消息)监控严格,可能导致商业账号限制
- 数据跨境风险:消息内容流经 P-API 服务器,需评估是否符合数据本地化要求
- Webhook 安全:若用户配置 HTTP 端点或未验证签名,存在中间人攻击风险
- API Key 泄露:凭证存储于 TOOLS.md,需防范配置文件的意外暴露
该 Skill 本身为纯文档说明,无代码执行风险,安全性主要取决于用户对外部服务的配置管理。
技能正文
name: p-api summary: Complete WhatsApp automation API with microservices architecture. Send messages, interactive buttons, lists, carousels, polls, manage instances, groups, catalogs and webhooks. Features Admin Panel (free), Phone Calls, RCS Messaging, SMS, Virtual Numbers (Pro). description: Integration with P-API for WhatsApp automation. Use to send messages (text, image, video, audio, documents), interactive messages (buttons, lists, carousel, polls), manage WhatsApp instances, groups, product catalogs and webhooks. Triggers: whatsapp, papi, p-api, send whatsapp message, create instance, QR code, whatsapp buttons, whatsapp list, carousel, poll.
P-API - WhatsApp Connections Hub

The WhatsApp automation you've been waiting for.
Complete redesign with microservices architecture — modular, scalable, and independent.
🌐 Official Website: https://papi.api.br
🤝 Partner: Mundo Automatik
📑 Table of Contents
✨ Features
📊 Admin Panel (Free)
- Multi-language interface (PT-BR, EN, ES)
- Instance management
- Real-time monitoring
- Behavior configuration
- Usage statistics
🔥 Pro Features
| Feature | Capabilities |
|---|---|
| 📞 Phone Calls | Chip-based calls, WhatsApp calls, Extension system, Call management |
| 💬 RCS Messaging | Rich media sending, Buttons & carousels, Read receipts, Typing indicator |
| 📱 Call Center | Chip rotation (30 ports), Bulk SMS sending, Configurable rate limiting |
| ✉️ Professional SMS | Individual/bulk sending, Smart chip rotation, Port configuration |
| 🔢 Virtual Numbers | Instant purchase, Auto activation, Full management |
⚙️ Configuration
Before using, configure in TOOLS.md:
### P-API (WhatsApp)
- Base URL: https://your-server.com
- API Key: your-api-key
- Default Instance: instance-name
🔐 Authentication
All requests require the x-api-key header:
curl -X GET "https://your-server.com/api/instances" \
-H "x-api-key: YOUR_KEY"
📡 Main Endpoints
Instances
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/instances |
List all instances |
| POST | /api/instances |
Create instance {"id": "name"} |
| GET | /api/instances/:id/qr |
Get QR code |
| GET | /api/instances/:id/status |
Instance status |
| DELETE | /api/instances/:id |
Remove instance |
Send Messages
JID format: 5511999999999@s.whatsapp.net
| Type | Endpoint | Required Fields |
|---|---|---|
| Text | POST /send-text |
jid, text |
| Image | POST /send-image |
jid, url or base64, caption |
| Video | POST /send-video |
jid, url or base64 |
| Audio | POST /send-audio |
jid, url, ptt |
| Document | POST /send-document |
jid, url, filename |
| Location | POST /send-location |
jid, latitude, longitude |
| Contact | POST /send-contact |
jid, name, phone |
| Sticker | POST /send-sticker |
jid, url |
| Reaction | POST /send-reaction |
jid, messageId, emoji |
Interactive Messages
| Type | Endpoint | Description |
|---|---|---|
| Buttons | POST /send-buttons |
quick_reply, cta_url, cta_call, cta_copy |
| List | POST /send-list |
Menu with sections |
| Carousel | POST /send-carousel |
Sliding cards (mobile only) |
| Poll | POST /send-poll |
Voting up to 12 options |
Groups
| Method | Endpoint | Description |
|---|---|---|
| POST | /groups/create |
Create group |
| GET | /groups/:groupId/metadata |
Group info |
| POST | /groups/:groupId/participants |
Manage members (add/remove/promote/demote) |
Webhook
POST /api/instances/:id/webhook
{
"url": "https://your-server/webhook",
"enabled": true,
"events": ["messages", "status"]
}
📚 Detailed References
| File | Content |
|---|---|
references/interactive.md |
Buttons, lists, carousel, polls examples |
references/groups.md |
Group management |
references/catalog.md |
Product catalog |
references/integrations.md |
Typebot, Chatwoot integrations |
👥 Credits
Developed by: Pastorini
Website: https://papi.api.br
Partner: Mundo Automatik
Skill maintained by: @rafacpti23
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。