Channels

Start personal WhatsApp QR pairing [write]

Changed on

Requires an unrestricted personal key not fixed to a workspace and a session owned by that person. Uses the same durable pairing store and worker as the web. Poll GET for the QR, which the account owner scans with WhatsApp on their phone. This does not send messages. Worker unavailability returns 502 or 503.

post/channels/whatsapp/pairing

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/channels/whatsapp/pairing
  • Auth
    HTTP bearer

Request body

sessionstring required

Response

OK

state'pending_qr' | 'connected' | 'disconnected' required
qrstring nullable required

Changes