跳到正文
TakoAPI
返回技能列表

p-api

由 rafacpti23 提供

Web & Frontend Development
1.6k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Integration with P-API for WhatsApp automation.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  1. 1

    Authenticate with the P-API server using the x-api-key header

  2. 2

    Verify the WhatsApp instance is connected via GET /api/instances/:id/status

  3. 3

    Construct the button payload with jid, button type (quick_reply or cta_url), and message content

  4. 4

    Send the message via POST /send-buttons

  5. 5

    Confirm delivery status from the API response

输出

Interactive WhatsApp message with buttons delivered to the target number

前置要求

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

安装

clawhub install rafacpti23/p-api

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接