Skip to main content

Submit QR Code Data

EVENT 

webhook

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

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

Successfully processed the QR code data. The server acknowledged the submission and returned status 200, indicating successful reception of the QR code details.

Loading...