---
title: "Create Selection"
method: POST
path: "/v1/integrations/microsoft/selections"
tags: ["sharepoint"]
---

# Create Selection

`POST /v1/integrations/microsoft/selections`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/integrations/microsoft/selections`
- Auth: HTTP bearer

## Query parameters

- `workspace_id` string, uuid, required

## Request body

- CreateSelectionRequest
  - `connection_id` string, uuid, required
  - `drive_ref` string, required
  - `item_ref` string, required
  - `purpose` 'memory_source' | 'memory_import' | 'voidables_export' | 'matter_folder_import' | 'matter_folder_policy'

## Response `200`

Successful Response

- MicrosoftSelection
  - `selection_ref` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
