Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

papi

bởi rafacpti23

Web & Frontend Development
1.7kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Complete WhatsApp automation API with microservices architecture.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  1. 1

    Create or connect a WhatsApp instance via POST /api/instances

  2. 2

    Retrieve QR code from GET /api/instances/:id/qr to authenticate the phone

  3. 3

    Format the recipient JID as 5511999999999@s.whatsapp.net

  4. 4

    Send the button message via POST /send-buttons with jid, text, and button configuration

  5. 5

    Configure a webhook via POST /api/instances/:id/webhook to receive button response events

ĐẦU RA

Customer receives a WhatsApp message with interactive buttons; button taps are delivered to the configured webhook URL

Yêu cầu

  • PAPI server instance (self-hosted or provided by papi.api.br)
  • PAPI API key for the x-api-key header, obtained from your server configuration
  • Pro subscription at papi.api.br for phone calls, RCS messaging, SMS, and virtual numbers

Cài đặt

clawhub install rafacpti23/papi

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết