Submit QR Code Data
EVENTwebhook
Accepts and processes the provided QR code data, which includes both the QR code string representation and its Base64 encoded image format for display purposes. This endpoint allows systems or clients to update or notify the backend about a new or existing QR code and its visual representation.
Request
Header Parameters
x-businessId stringrequired
Identificador do negócio
x-instanceId stringrequired
Identificador da instanceia
x-whatsappId stringrequired
Identificador do whatsapp conectado
- application/json
Body
event string
Possible values: [connection.update
]
instance object
instanceId string
name string
state string
Possible values: [active
, inactive
]
connection string
Possible values: [refused
, close
, open
]
createdAt date-time
WhatsApp object
whatsappId string
remoteJid string
pictureUrl string
pushName string
createdAt date-time
Business object
businessId string
name string
data object
code string
base64 string
Responses
- 200
Successfully processed the QR code data. The server acknowledged the submission and returned status 200, indicating successful reception of the QR code details.
Loading...