Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(contacts): say what a missing profilePicUrl does not mean

Yudhi Armyndharis38759075b846
diff --git a/docs/06-api-specification.md b/docs/06-api-specification.md
index bae5fe413..fb3ba2066 100644
--- a/docs/06-api-specification.md
+++ b/docs/06-api-specification.md
@@ -2399,7 +2399,7 @@ The `Contact` object returned by the list and get-by-id routes has this shape:
}
```
-`name`, `pushName`, and `profilePicUrl` are optional and may be absent.
+`name`, `pushName`, and `profilePicUrl` are optional and may be absent. `profilePicUrl` is a cached URL that only Baileys can fill (whatsapp-web.js never sets it), and it is often absent there too, so its absence says nothing about whether the contact has a picture; use `GET /api/sessions/:sessionId/contacts/:contactId/profile-picture` for that.
#### GET /api/sessions/:sessionId/contacts