Connections
Import an extracted WhatsApp Web session (no QR)
post/connections/{phoneNumber}/import-session
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