Get person photo
Changed onReturns 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
- Base URL: https://instance-name-be.glean.com
- URL: https://instance-name-be.glean.com/rest/api/v1/people/{person_id}/photo
- Auth: HTTP bearer
Path parameters
The obfuscated ID of the person whose photo to retrieve.
Query parameters
Optional datasource override for crawled photos (e.g. AZURE, GDRIVE, OKTA). When omitted, the datasource is derived from the person's stored photo URL or the deployment's primary person datasource.
Response
Photo bytes returned successfully.
Changes
- info
the endpoint scheme security
APITokenwas added to the API
- info
- info
the endpoint scheme security
APITokenwas removed from the API
- info