papi

Web & Frontend Development
v1.0.0
Benign

Complete WhatsApp automation API with microservices architecture.

11.7K downloads1.7K installsby @rafacpti23

Setup & Installation

Install command

clawhub install rafacpti23/papi

If the CLI is not installed:

Install command

npx clawhub@latest install rafacpti23/papi

Or install with OpenClaw CLI:

Install command

openclaw skills install rafacpti23/papi

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/rafacpti23/papi

What This Skill Does

PAPI is a WhatsApp automation API built on a microservices architecture. It handles sending messages of all types (text, media, interactive buttons, polls, carousels), managing WhatsApp instances and groups, and configuring webhooks. A Pro tier adds phone calls, RCS messaging, bulk SMS, and virtual number management.

Combines instance management, all WhatsApp message types, group administration, and webhook configuration in one API instead of requiring multiple separate services.

When to Use It

  • Send automated order confirmation messages to customers via WhatsApp
  • Build a customer support bot with interactive button and list menus
  • Manage multiple WhatsApp instances from a single API
  • Run group polls with up to 12 voting options
  • Trigger WhatsApp notifications from external events via webhooks
View original SKILL.md file
# PAPI - WhatsApp Connections Hub

![PAPI Logo](https://papi.api.br/logo-official.png)

**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](https://mundoautomatik.com/)

---

## ๐Ÿ“‘ Table of Contents

1. [Features](#-features)
2. [Configuration](#%EF%B8%8F-configuration)
3. [Authentication](#-authentication)
4. [Main Endpoints](#-main-endpoints)
5. [Detailed References](#-detailed-references)
6. [Credits](#-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:

```markdown
### PAPI (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
| 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

```json
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](https://mundoautomatik.com/)  
**Skill maintained by:** @rafacpti23

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Send automated order confirmation messages to customers via WhatsApp

AGENT
  1. 1Send automated order confirmation messages to customers via WhatsApp
  2. 2Build a customer support bot with interactive button and list menus
  3. 3Manage multiple WhatsApp instances from a single API
  4. 4Run group polls with up to 12 voting options
  5. 5Trigger WhatsApp notifications from external events via webhooks
OUTPUT
Complete WhatsApp automation API with microservices architecture.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedFeb 28, 2026