sessionId. WADial returns it when you create a token; store it in your system and use it as the path parameter for pairing, status, connection, messaging, and call endpoints.
Create token
sessionId. WADial creates the token ID and keeps using that same value for future operations.
List all tokens
List connected tokens
CallGET /api/v1/sessions and keep records where connected is true.
status: "connected" alone means the token has connected before. Always check connected: true before sending. If a paired token has connected: false, reconnect it before sending.
Get token status
paired: WhatsApp is linked to this token.active: WADial is preparing or maintaining a live connection for this token.connected: the token is ready for message sends and calls.connectionState: current connection state, such asconnecting,connected,inactive,disconnected, orerror.