Current user

Fetch the profile picture

Redirects to the calling property manager's profile picture. Follow the redirect to get the image itself; the response carries no body of its own.

GET
https://api.portal.magicdoor.com/company-app/me/image.webp

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Response

302 · A `Location` header pointing at the image. Follow it to fetch the bytes.

401 · The access token is missing, expired, or not valid for this company.

404 · The property manager the key belongs to no longer exists.

The extension is part of the path, not a format choice

The path ends in image.webp whatever format the picture was uploaded in. The URL you are redirected to serves whatever MagicDoor's file service returns for that picture.

Most HTTP clients follow the redirect for you. With cURL you need -L.

curl -L \
  --url '{{baseUrl}}/company-app/me/image.webp' \
  --header 'Authorization: Bearer $ACCESS_TOKEN' \
  --output avery.webp