✓ Verified 💻 Development ✓ Enhanced Data

P Api

Integration with P-API for WhatsApp automation.

Rating
4.3 (22 reviews)
Downloads
2,185 downloads
Version
1.0.0

Overview

Integration with P-API for WhatsApp automation.

Complete Documentation

View Source →

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


✨ 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:

markdown
### 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:

bash
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: [email protected]

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

json
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

Installation

Terminal bash

openclaw install p-api
    
Copied!

💻Code Examples

- Default Instance: instance-name

--default-instance-instance-name.txt
## 🔐 Authentication

All requests require the `x-api-key` header:

-H "x-api-key: YOUR_KEY"

--h-x-api-key-yourkey.txt
---

## 📡 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: `[email protected]`

| 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
example.md
### P-API (WhatsApp)
- Base URL: https://your-server.com
- API Key: your-api-key
- Default Instance: instance-name
example.json
POST /api/instances/:id/webhook
{
  "url": "https://your-server/webhook",
  "enabled": true,
  "events": ["messages", "status"]
}

Tags

#web_and-frontend-development #api #automation #integration

Quick Info

Category Development
Model Claude 3.5
Complexity Multi-Agent
Author rafacpti23
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install p-api