Inicializar nueva sesión de WhatsApp
🚀 Servidor de producción
https://api.hiveflow.com/api
🚀 Servidor de producción
https://api.hiveflow.com/api
POST
/whatsapp/sessions
WhatsApp
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.hiveflow.com/api/whatsapp/sessions' \
--header 'Content-Type: application/json' \
--data-raw '{
"sessionName": "mi-bot-ventas",
"autoReconnect": true,
"webhookUrl": "https://mi-app.com/webhook/whatsapp",
"settings": {
"markMessagesAsRead": false,
"sendPresenceUpdates": true,
"maxRetries": 3
}
}'
Response Response Example
{
"success": true,
"sessionId": "string",
"status": "qr",
"qrCode": "string",
"qrCodeUrl": "string",
"expiresAt": "2019-08-24T14:15:22Z",
"message": "Escanea el código QR con WhatsApp"
}
Request
Body Params application/json
Responses
Modified at 2025-06-19 15:26:15