qrCode
GET
/module/qrCodeShow QrCode
After executing the create and connect methods, the qrCode method must be executed. Once this method is executed, the service is ready to connect to the user's WhatsApp. Through this method, users can view the QR code and connect their WhatsApp to the service.
Response
The response will be a JSON object with the following properties:
status
(string): Represents the status of the response.apiKey
(string): Represents the API key used for the request.qrCode
(string): Represents the QR code information.whatsAppStatus
(string): Represents the status of WhatsApp.message
(string): Represents any additional message included in the response.
This response can be used to validate and understand the structure of the JSON data returned from the API endpoint.
Request
Request samples
Responses
{
"status": "true",
"apiKey": "SrviceAPIKEY",
"qrCode": "2@QZ0LfvTvQwBIH4U/7hCRCh5QBBL83QvnRK29zgmbL6TXaDCXXuld/USxgyo1MWE3CXi/EX75bsLV1w==,mzikgZmC1PKxYX+/1RKtTIkjZBWPCYCS5u3GhW3uMB0=,KJYkd+GszBVkmksRPQINfV63G5Xwm6D0yhsxWAdg0hI=,aj/AHg4Q5OzrWsAN8CfO3o7yP9HnNLNNKCSe31qVn9I=,1",
"whatsAppStatus": "Not connected",
"message": "The qr code was generated"
}