---
title: "Set group icon"
method: PUT
path: "/groups/{GroupID}/icon"
tags: ["Groups"]
---

# Set group icon

`PUT /groups/{GroupID}/icon`

This method is responsible for changing a group image that already exists

## Path parameters

- `GroupID` string, required — Group ID

## Request body

- object — Group icon. You can use preuploaded file or upload file on the fly.
  - `media` union, required
    - string — Media file URL for upload
    - string — Base64 encoded file to upload
    - string — Media file ID
  - `mime_type` string — Mime type of media

## Response `200`

OK

- ResponseSuccess
  - `success` boolean

## Other responses

- `400` — Wrong request parameters
- `401` — Need channel authorization for set group icon
- `403` — You do not have permissions for this action
- `404` — Specified group not found
- `500` — Internal Error

---

[API](https://skmtc.net/whapi/apis/whatsapp-api.md) · [All operations](https://skmtc.net/whapi/apis/whatsapp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whapi/whatsapp-api/versions/40ab05abffdb/schema)
