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
- Configuration
- Authentication
- Main Endpoints
- Detailed References
- Credits
✨ 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
1---
2name: p-api
3description: "Integration with P-API for WhatsApp automation. Use to send
4 messages (text, image, video, audio, documents), interactive messages
5 (buttons, lists, carousel, polls), manage WhatsApp instances, groups, product
6 catalogs and webhooks. Triggers: whatsapp, papi, p-api, send whatsapp message,
7 create instance, QR code, whatsapp buttons, whatsapp list, carousel, poll."
8metadata:
9 source: https://skillmd.com/skills/modbender/p-api
10---
11
12
13# P-API - WhatsApp Connections Hub
14
15
16
17**The WhatsApp automation you've been waiting for.**
18
19Complete redesign with microservices architecture — modular, scalable, and independent.
20
21🌐 **Official Website:** https://papi.api.br
22🤝 **Partner:** [Mundo Automatik](https://mundoautomatik.com/)
23
24---
25
26## 📑 Table of Contents
27
281. [Features](#-features)
292. [Configuration](#%EF%B8%8F-configuration)
303. [Authentication](#-authentication)
314. [Main Endpoints](#-main-endpoints)
325. [Detailed References](#-detailed-references)
336. [Credits](#-credits)
34
35---
36
37## ✨ Features
38
39### 📊 Admin Panel (Free)
40- Multi-language interface (PT-BR, EN, ES)
41- Instance management
42- Real-time monitoring
43- Behavior configuration
44- Usage statistics
45
46### 🔥 Pro Features
47
48| Feature | Capabilities |
49|---------|--------------|
50| 📞 **Phone Calls** | Chip-based calls, WhatsApp calls, Extension system, Call management |
51| 💬 **RCS Messaging** | Rich media sending, Buttons & carousels, Read receipts, Typing indicator |
52| 📱 **Call Center** | Chip rotation (30 ports), Bulk SMS sending, Configurable rate limiting |
53| ✉️ **Professional SMS** | Individual/bulk sending, Smart chip rotation, Port configuration |
54| 🔢 **Virtual Numbers** | Instant purchase, Auto activation, Full management |
55
56---
57
58## ⚙️ Configuration
59
60Before using, configure in TOOLS.md:
61
62```markdown
63### P-API (WhatsApp)
64- Base URL: https://your-server.com
65- API Key: your-api-key
66- Default Instance: instance-name
67```
68
69## 🔐 Authentication
70
71All requests require the `x-api-key` header:
72
73```bash
74curl -X GET "https://your-server.com/api/instances" \
75 -H "x-api-key: YOUR_KEY"
76```
77
78---
79
80## 📡 Main Endpoints
81
82### Instances
83| Method | Endpoint | Description |
84|--------|----------|-------------|
85| GET | `/api/instances` | List all instances |
86| POST | `/api/instances` | Create instance `{"id": "name"}` |
87| GET | `/api/instances/:id/qr` | Get QR code |
88| GET | `/api/instances/:id/status` | Instance status |
89| DELETE | `/api/instances/:id` | Remove instance |
90
91### Send Messages
92
93JID format: `5511999999999@s.whatsapp.net`
94
95| Type | Endpoint | Required Fields |
96|------|----------|-----------------|
97| Text | `POST /send-text` | `jid`, `text` |
98| Image | `POST /send-image` | `jid`, `url` or `base64`, `caption` |
99| Video | `POST /send-video` | `jid`, `url` or `base64` |
100| Audio | `POST /send-audio` | `jid`, `url`, `ptt` |
101| Document | `POST /send-document` | `jid`, `url`, `filename` |
102| Location | `POST /send-location` | `jid`, `latitude`, `longitude` |
103| Contact | `POST /send-contact` | `jid`, `name`, `phone` |
104| Sticker | `POST /send-sticker` | `jid`, `url` |
105| Reaction | `POST /send-reaction` | `jid`, `messageId`, `emoji` |
106
107### Interactive Messages
108
109| Type | Endpoint | Description |
110|------|----------|-------------|
111| Buttons | `POST /send-buttons` | quick_reply, cta_url, cta_call, cta_copy |
112| List | `POST /send-list` | Menu with sections |
113| Carousel | `POST /send-carousel` | Sliding cards (mobile only) |
114| Poll | `POST /send-poll` | Voting up to 12 options |
115
116### Groups
117
118| Method | Endpoint | Description |
119|--------|----------|-------------|
120| POST | `/groups/create` | Create group |
121| GET | `/groups/:groupId/metadata` | Group info |
122| POST | `/groups/:groupId/participants` | Manage members (add/remove/promote/demote) |
123
124### Webhook
125
126```json
127POST /api/instances/:id/webhook
128{
129 "url": "https://your-server/webhook",
130 "enabled": true,
131 "events": ["messages", "status"]
132}
133```
134
135---
136
137## 📚 Detailed References
138
139| File | Content |
140|------|---------|
141| `references/interactive.md` | Buttons, lists, carousel, polls examples |
142| `references/groups.md` | Group management |
143| `references/catalog.md` | Product catalog |
144| `references/integrations.md` | Typebot, Chatwoot integrations |
145
146---
147
148## 👥 Credits
149
150**Developed by:** Pastorini
151**Website:** https://papi.api.br
152**Partner:** [Mundo Automatik](https://mundoautomatik.com/)
153**Skill maintained by:** @rafacpti23