> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pilotstatus.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Set group photo

> Sets the group's profile picture from a public URL or a base64 data URI.



## OpenAPI

````yaml openapi.evolution-go.json POST /group/photo
openapi: 3.1.0
info:
  title: Evolution GO Layer
  version: 1.0.0
  description: >-
    Pilot Status API Layer — Evolution GO. Base URL
    `https://pilotstatus.com.br/api/layer/evolution-go`. Authenticate with the
    `apikey` header (your Pilot Status `ps_` key) or `Authorization: Bearer`.
    Instance/session endpoints are NOT available through the layer.
servers:
  - url: https://pilotstatus.com.br/api/layer/evolution-go
security:
  - apiKey: []
tags:
  - name: Call (voice)
  - name: Chat
  - name: Community
  - name: Group
  - name: Label
  - name: Message
  - name: Newsletter / Channels
  - name: Send (load-balanced)
  - name: User / Contacts
paths:
  /group/photo:
    post:
      tags:
        - Group
      summary: Set group photo
      description: Sets the group's profile picture from a public URL or a base64 data URI.
      operationId: post__group_photo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                groupJid:
                  type: string
                  description: Group JID (`<id>@g.us`).
                  example: 120363012345678901@g.us
                image:
                  type: string
                  description: >-
                    Image as an `http(s)` URL or a `data:image/jpeg;base64,` /
                    `data:image/png;base64,` data URI.
                  example: https://example.com/group-photo.jpg
              required:
                - groupJid
                - image
      responses:
        '200':
          description: Success — provider-native response body.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Envelope returned for Set group photo. `data` is the new
                  picture ID string returned by whatsmeow SetGroupPhoto.
                properties:
                  message:
                    type: string
                    description: Always "success" on HTTP 200.
                  data:
                    type: string
                    description: Identifier of the newly set group picture.
              example:
                message: success
                data: '1719849912'
        default:
          description: Error — provider or layer error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  error:
                    type: string
                  message:
                    type: string
                  response:
                    type: object
              example:
                status: 400
                error: Bad Request
                message: Invalid payload
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: apikey
      description: >-
        Your Pilot Status API key (ps_...). Evolution GO also accepts
        `Authorization: Bearer <key>`.

````