跳至主要内容
小龙虾小龙虾AI
🤖

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.

下载1.4k
星标0
版本1.2.1
通讯协作
安全通过

技能说明


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

P-API Logo

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

  1. Features
  2. Configuration
  3. Authentication
  4. Main Endpoints
  5. Detailed References
  6. Credits

✨ Features

📊 Admin Panel (Free)

  • Multi-language interface (PT-BR, EN, ES)
  • Instance management
  • Real-time monitoring
  • Behavior configuration
  • Usage statistics

🔥 Pro Features

FeatureCapabilities
📞 Phone CallsChip-based calls, WhatsApp calls, Extension system, Call management
💬 RCS MessagingRich media sending, Buttons & carousels, Read receipts, Typing indicator
📱 Call CenterChip rotation (30 ports), Bulk SMS sending, Configurable rate limiting
✉️ Professional SMSIndividual/bulk sending, Smart chip rotation, Port configuration
🔢 Virtual NumbersInstant 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

MethodEndpointDescription
GET/api/instancesList all instances
POST/api/instancesCreate instance {"id": "name"}
GET/api/instances/:id/qrGet QR code
GET/api/instances/:id/statusInstance status
DELETE/api/instances/:idRemove instance

Send Messages

JID format: 5511999999999@s.whatsapp.net

TypeEndpointRequired Fields
TextPOST /send-textjid, text
ImagePOST /send-imagejid, url or base64, caption
VideoPOST /send-videojid, url or base64
AudioPOST /send-audiojid, url, ptt
DocumentPOST /send-documentjid, url, filename
LocationPOST /send-locationjid, latitude, longitude
ContactPOST /send-contactjid, name, phone
StickerPOST /send-stickerjid, url
ReactionPOST /send-reactionjid, messageId, emoji

Interactive Messages

TypeEndpointDescription
ButtonsPOST /send-buttonsquick_reply, cta_url, cta_call, cta_copy
ListPOST /send-listMenu with sections
CarouselPOST /send-carouselSliding cards (mobile only)
PollPOST /send-pollVoting up to 12 options

Groups

MethodEndpointDescription
POST/groups/createCreate group
GET/groups/:groupId/metadataGroup info
POST/groups/:groupId/participantsManage members (add/remove/promote/demote)

Webhook

POST /api/instances/:id/webhook
{
  "url": "https://your-server/webhook",
  "enabled": true,
  "events": ["messages", "status"]
}

📚 Detailed References

FileContent
references/interactive.mdButtons, lists, carousel, polls examples
references/groups.mdGroup management
references/catalog.mdProduct catalog
references/integrations.mdTypebot, Chatwoot integrations

👥 Credits

Developed by: Pastorini
Website: https://papi.api.br
Partner: Mundo Automatik
Skill maintained by: @rafacpti23

如何使用「P-API - WhatsApp API」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「P-API - WhatsApp API技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能