Get person photo
GET/rest/api/v1/people/:person_id/photo
Returns the profile photo bytes for a person whose photo is stored in Glean (crawled from an identity source or user-uploaded via admin console). Photos hosted externally (e.g. Slack CDN) are not served by this endpoint; callers should follow the photoUrl from /people or /listentities directly. Responses include a Cache-Control header (max-age=3600) to reduce redundant fetches.
Request
Responses
- 200
- 400
- 401
- 404
- 429
Photo bytes returned successfully.
Response Headers
Cache-Control
Caching directive for the photo response.
Missing person_id parameter.
Not Authorized.
Person not found, person has no photo, or photo is not hosted by Glean (follow photoUrl from /people or /listentities directly).
Too Many Requests.