Skip to main content

Contacts Data Update

EVENT 

webhook

This endpoint is triggered when a contact in the connected WhatsApp account undergoes changes. It facilitates real-time synchronization by notifying the system of any updates made to a contact's details.

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 [
  • contactId string
    pushName string
    remoteJid string
    pictureUrl string
    createdAt date-time
  • ]
  • event string

    Possible values: [contacts.update]

Responses

The API has successfully received and processed the updated contact data, returning a status of 200 to confirm successful receipt.

Loading...