Connections
Import an extracted WhatsApp Web session (no QR)
Changed onpost/connections/{phoneNumber}/import-session
Request
- Base URLhttp://localhost:3025
- AuthAPI key in header x-api-key
Path parameters
phoneNumberstring required
Example:+551234567890
Phone number for connection. Must have + prefix.
Request body
Example request
{
"session": {
"id": "551101234567:12@s.whatsapp.net"
},
"clientName": "My WhatsApp Client",
"webhookUrl": "http://localhost:3026/whatsapp/+1234567890",
"webhookVerifyToken": "a3f4b2"
}Response
Session import accepted; connecting
Changes
- breaking
removed the success response with the status
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- breaking
- info
endpoint added
- info