Skip to main content

The signed-in member's own photo (binary image)

GET 

/portal/me/photo

Returns the member's uploaded photo bytes. The portal serves its own copy because AuthMiddleware confines a self-service session to /portal and /api/portal, so /api/person/{id}/photo — which the profile used to point at — answers those sessions with 403 and every avatar renders broken. The member is taken from the session; there is no person id to pass. Cached privately for two hours, the same window the person endpoint uses; the URLs the portal hands out carry a ?v=<mtime> cache-buster so a fresh upload is visible at once.

Responses​

The photo

Can't find what you need? Ask in Discord, or open an issue on the ChurchCRM repository.