Skip to main content

Update Chat Events

EVENT 

webhook

This endpoint is designed to monitor and notify about any changes occurring within chats. Examples of such changes include actions like archiving and unarchiving chats. By integrating with this route, you ensure timely updates on chat statuses.

Request

Header Parameters

    x-businessId stringrequired

    Identificador do negócio

    x-instanceId stringrequired

    Identificador da instanceia

    x-whatsappId stringrequired

    Identificador do whatsapp conectado

Body

    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[]
  • Array [
  • chatId string
    remoteJid string
    createdAt date-time
  • ]
  • event string

    Possible values: [chats.update]

Responses

The API has successfully processed the incoming data and responds with a 200 status to confirm the successful integration of chat updates.

Loading...