Skip to main content
GET
/
api
/
{session}
/
groups
/
{id}
/
picture
Get group picture
curl --request GET \
  --url https://{host}/api/{session}/groups/{id}/picture \
  --header 'apikey: <api-key>'
{
  "url": "https://pps.whatsapp.net/v/t61.24694-24/..."
}

Description

This endpoint returns the URL of the profile picture of the specified group.

URL Parameters

session
string
required
WhatsApp unique session ID
id
string
required
ID of the group in format 120363XXXXX@g.us

Response

url
string
URL of the group picture
{
  "url": "https://pps.whatsapp.net/v/t61.24694-24/..."
}

Status Codes

  • 200 - Picture returned successfully
  • 400 - Invalid parameters
  • 401 - Unauthorized
  • 404 - Group or picture not found

Usage Example

curl -X GET https://api.wappfy.com.br/api/my-session/groups/120363XXXXX@g.us/picture

Authorizations

apikey
string
header
required

Your Wappfy API key (get it at dash.wappfy.com.br)

Path Parameters

id
string
required

ID do Grupo

Query Parameters

refresh
boolean
default:false

Refresh the picture from the server (24h cache by default). Do not refresh if not needed, you can get rate limit error

Response

200 - application/json
url
string
required
I