POST
Pair Device (QR Code)
Initiates Multi-Device WhatsApp pairing and returns the Base64 QR code string to scan with the WhatsApp mobile app.
HTTP Endpoint
POSThttps://api-wa.hidessh.com/api/v1/wa/devices/{deviceId}/pair
Authentication
This endpoint requires Bearer authentication via your secret API Key.
| Header Key | Value | Required |
|---|---|---|
| Authorization | Bearer <your_api_key> | Required |
| Content-Type | application/json | Required |
Request Parameters
The request body must be formatted as JSON with the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
deviceId | string | Required | Unique ULID identifier of the device slot. example: 01M1WW3FKR1JS7CW4KGY78Q5ND |
Code Examples
request.sh
curl -X POST "https://api-wa.hidessh.com/api/v1/wa/devices/01M1WW3FKR1JS7CW4KGY78Q5ND/pair" \
-H "Authorization: Bearer YOUR_API_KEY"Response Formats
QR pairing code generated.
application/json • 200 OK
On this page