OpenClaw ยท Skill
P API
P-API is a WhatsApp automation API built on microservices architecture. It handles sending text, media, and interactive messages (buttons, lists, carousels, polls), plus managing instances, groups, product catalogs, and webhooks. A Pro tier adds phone calls, RCS, SMS, and virtual numbers.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install rafacpti23/p-apiClawHub installer
npx clawhub@latest install rafacpti23/p-apiOpenClaw CLI
openclaw skills install rafacpti23/p-apiDirect OpenClaw install
openclaw install rafacpti23/p-apiWhat this skill does
P-API is a WhatsApp automation API built on microservices architecture. It handles sending text, media, and interactive messages (buttons, lists, carousels, polls), plus managing instances, groups, product catalogs, and webhooks. A Pro tier adds phone calls, RCS, SMS, and virtual numbers.
Why it matters
The microservices architecture lets you scale or swap individual components independently, and the free admin panel covers multi-instance management without extra tooling.
Typical use cases
- Sending automated order status updates to customers over WhatsApp
- Building multi-option reply menus for customer support flows
- Managing several WhatsApp business numbers from one API
- Collecting group member votes with polls up to 12 options
- Routing incoming WhatsApp messages to a helpdesk via webhooks
Source instructions
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