API referenceWhatsapp attendees
GET
/whatsapp/api/v1/chat_attendees/{id}/picture

The image bytes, fetched from WhatsApp. A wac_… chat id gives a group's picture. 404 when there is none or privacy hides it.

Authorization

X-API-KEY<token>

Your API key from the console (gw_live_…).

In: header

Path Parameters

id*string

An attendee id (waa_…), or a phone number / JID together with account_id.

Query Parameters

account_id?string

The account the id belongs to: required when the path names a JID or a phone number instead of Swarmhit's id.

Lengthlength <= 4096

Response Body

image/jpeg

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/whatsapp/api/v1/chat_attendees/waa_H5gT8kL2mQ9wR3vB/picture?account_id=wa_Xk2pQ9rT4vW8yZ1a"
"string"