Skip to main content

Group Upsert Operation

EVENT 

webhook

This endpoint notifies when a new group is created or when an existing group undergoes significant changes.

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: [group.upsert]

    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
    id string
    subject string
    subjectOwner string
    subjectTime string
    size integer
    creation integer
    owner string
    restrict boolean
    announce boolean
    participants object[]
  • Array [
  • id string
    admin string
  • ]

Responses

The API has successfully received the notification, returning a 200 status to indicate successful data receipt.

Loading...