تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

p-api

بواسطة rafacpti23

Web & Frontend Development
1.6kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط