---
title: "Get current SharePoint user"
method: GET
path: "/integrations/sharepoint/me"
tags: ["Sharepoint"]
---

# Get current SharePoint user

`GET /integrations/sharepoint/me`

## Request

- Base URL: `https://api.your-domain.com`
- URL: `https://api.your-domain.com/integrations/sharepoint/me`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/docs/integrations/sharepoint/me/get.ts> (a function with typed inputs; its response is checked against the schema)

Return the signed-in user's SharePoint / Microsoft Graph profile.

## Query parameters

- `cookie_name` string, nullable

## Response `200`

Successful Response

- SharepointUserModel: The signed-in user's SharePoint / Microsoft Graph profile.
  - `display_name` string, nullable, required: User's display name.
  - `job_title` string, nullable, required: User's job title.
  - `mail` string, nullable, required: User's email address.
  - `surname` string, nullable, required: User's surname.
  - `user_principal_name` string, nullable, required: User principal name (UPN).

## Other responses

- `401`: Missing or invalid authentication, or no valid connector token.
- `403`: User has not consented to the required SharePoint scope.
- `422`: Validation Error

---

[API](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api.md) - [All operations](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/revisions/b53e89b98c2b?raw)
