POST
Create Device Slot
Allocates a new WhatsApp device slot ready for QR code pairing.
HTTP Endpoint
POSThttps://api-wa.hidessh.com/api/v1/wa/devices
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 |
|---|---|---|---|
push_name | string | Required | Friendly label for this device (e.g. 'CS Sales Bandung'). example: CS Sales Bandung |
Code Examples
request.sh
curl -X POST "https://api-wa.hidessh.com/api/v1/wa/devices" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"push_name": "CS Sales Bandung"
}'Response Formats
Device slot created with QR_PENDING status.
application/json • 201 Created
On this page