Skip to main content
POST
Definir foto do grupo

Autorizações

apikey
string
header
obrigatório

Your Pilot Status API key (ps_...). Evolution GO also accepts Authorization: Bearer <key>.

Corpo

application/json
groupJid
string
obrigatório

JID do grupo (<id>@g.us).

Exemplo:

"120363012345678901@g.us"

image
string
obrigatório

Imagem como URL http(s) ou um data URI data:image/jpeg;base64, / data:image/png;base64,.

Exemplo:

"https://example.com/group-photo.jpg"

Resposta

Sucesso — corpo de resposta nativo do provedor.

Envelope returned for Set group photo. data is the new picture ID string returned by whatsmeow SetGroupPhoto.

message
string

Always "success" on HTTP 200.

data
string

Identifier of the newly set group picture.