PUT
/
api
/
{session}
/
groups
/
{id}
/
picture
Definir foto do grupo
curl --request PUT \
  --url https://api.wappfy.com.br/api/{session}/groups/{id}/picture \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "file": {
    "mimetype": "image/jpeg",
    "filename": "filename.jpg",
    "url": "https://github.com/devlikeapro/waha/raw/core/examples/waha.jpg"
  }
}'
{
  "success": true
}

Authorizations

apikey
string
header
required

Apikey

Path Parameters

id
string
required

ID do Grupo

Body

application/json
file
object
required

Response

200 - application/json
success
boolean
default:true
required