Sessions
A session is one WhatsApp linked device managed by WADial.Tokens
The dashboard presents sessions as tokens. Each token has a stablesessionId that your application uses in API paths.
You do not choose the sessionId. WADial creates it when the token is created and returns it in the response.
Pairing and connection state
A token can stay paired even when it is not currently connected.pairedmeans WhatsApp is linked to the token.activemeans WADial is preparing or maintaining a live connection for the token.connectedmeans the token is ready to send messages and place calls.connectionStatedescribes the current connection state. If it isinactive, reconnect the token before sending.
connected: false, call POST /api/v1/sessions/{sessionId}/connect to reconnect it. Do not request another pairing code for an already paired token.