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.

Web & Frontend Development
v1.2.1
VirusTotal: Benign

Install

Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.

Primary command

clawhub install rafacpti23/p-api

ClawHub installer

npx clawhub@latest install rafacpti23/p-api

OpenClaw CLI

openclaw skills install rafacpti23/p-api

Direct OpenClaw install

openclaw install rafacpti23/p-api

What 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

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

Related OpenClaw skills

Browse all โ†’
Featured slot

Your product here

Reserve this slot to reach operators and coding-agent buyers.

Shown where builders are actively comparing tools and deployment options.

Advertise