Skip to main content

Update Group Profile Picture

PATCH 

/api/v2/instance/:instanceId/group/:groupJid/profile-picture/file

This endpoint allows admins of a specific WhatsApp group to update the group's profile picture. The new profile image is sent as part of the request in a supported image file format. The group_id parameter identifies the group whose profile picture will be updated.

Request

Path Parameters

    instanceId stringrequired

    ID of the instance.

    groupJid stringrequired

    The unique identifier of the group whose profile picture will be updated.

Body

required

An image file (eg JPEG, PNG) that will be used as the new group profile picture. The maximum file format and size must comply with WhatsApp restrictions.

    attachment binaryrequired

    Load the media file.

Responses

Update Successful

Schema
    updated boolean
    groupJid string
Loading...