---
title: "Connect to Microsoft Endpoint Manager"
method: POST
path: "/connect/mem"
tags: ["Connect"]
---

# Connect to Microsoft Endpoint Manager

`POST /connect/mem`

## Request

- Base URL: `https://api.xfa.tech`
- URL: `https://api.xfa.tech/connect/mem`
- Auth: HTTP bearer

## Request body

- object
  - `organization_id` string, required: The ID of the organization to connect
  - `code` string, required: OAuth authorization code from Microsoft
  - `redirect_uri` string, required: Redirect URI used in the OAuth flow

## Response `204`

Successfully connected to Microsoft Endpoint Manager

---

[API](https://skmtc.dev/xfa/apis/xfa-api.md) · [All operations](https://skmtc.dev/xfa/apis/xfa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xfa/apis/xfa-api/revisions/1a1be0e8972b?raw)
