LaunchKit · 2026
Back to Skills

Integration with P-API for WhatsApp automation.

1
1.6k downloads
by @rafacpti23

Setup & Installation

openclaw skills install @rafacpti23/p-api

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install p-api

Version History

v1.2.1Feb 8, 2026 - Version note by skill developer:

Added summary field to frontmatter, improved table formatting

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.

The microservices architecture lets you scale or swap individual components independently, and the free admin panel covers multi-instance management without extra tooling.

When to use it

  • 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

Example Workflow

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

INPUT

User asks: Send an interactive button message to a customer on WhatsApp

AGENT
  1. 1Authenticate with the P-API server using the x-api-key header
  2. 2Verify the WhatsApp instance is connected via GET /api/instances/:id/status
  3. 3Construct the button payload with jid, button type (quick_reply or cta_url), and message content
  4. 4Send the message via POST /send-buttons
  5. 5Confirm delivery status from the API response
OUTPUT

Interactive WhatsApp message with buttons delivered to the target number

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

P-API API key from papi.api.brP-API server URL (self-hosted or cloud instance)WhatsApp account connected to a P-API instance via QR code