Skip to main content
POST
/
group
/
updateImage
Update group image
curl --request POST \
  --url https://api.wppfy.com/group/updateImage \
  --header 'Content-Type: application/json' \
  --header 'token: <api-key>' \
  --data '
{
  "groupjid": "120363308883996631@g.us",
  "image": "<string>"
}
'
{
  "response": "Group image updated successfully",
  "group": {
    "JID": "jid8@g.us",
    "OwnerJID": "1232@s.whatsapp.net",
    "Name": "Grupo de Suporte",
    "NameSetAt": "2023-11-07T05:31:56Z",
    "NameSetBy": "<string>",
    "Topic": "<string>",
    "IsLocked": true,
    "IsAnnounce": true,
    "AnnounceVersionID": "<string>",
    "IsEphemeral": true,
    "DisappearingTimer": 1,
    "IsIncognito": true,
    "IsParent": true,
    "IsJoinApprovalRequired": true,
    "LinkedParentJID": "<string>",
    "IsDefaultSubGroup": true,
    "GroupCreated": "2023-11-07T05:31:56Z",
    "ParticipantVersionID": "<string>",
    "Participants": [
      "<unknown>"
    ],
    "MemberAddMode": "admin_add",
    "OwnerCanSendMessage": true,
    "OwnerIsAdmin": true,
    "DefaultSubGroupId": "<string>",
    "invite_link": "<string>",
    "request_participants": "<string>"
  }
}

Authorizations

token
string
header
required

Body

application/json
groupjid
string
required

Group JID

Example:

"120363308883996631@g.us"

image
string
required

Image URL, base64 string, or "remove"/"delete" to remove. The image must be in JPEG format and have a maximum resolution of 640x640.

Response

Image updated successfully

response
string
Example:

"Group image updated successfully"

group
object

Representa um grupo/conversa coletiva