> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Outlook

> Integrate your application with the Outlook API

## 🚀 Quickstart

Connect to Outlook with Nango and see data flow in 2 minutes.

**1. Create the integration**

In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Outlook*.

> [!NOTE]
>
> Nango has a [Nango-managed OAuth app](https://nango.dev/docs/guides/auth/auth-guide.md#nango-managed-oauth-apps) you can use in development and production. Select it when you create the integration.

**2. Authorize Outlook**

Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then log in to Outlook. Later, you'll let your users do the same directly from your app.

**3. Call the Outlook API**

Let's make your first request to the Outlook (Microsoft Graph) API (fetch the profile of the currently signed-in user). Replace the placeholders below with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

> [tab] cURL
>
> ```bash theme={null}
> curl "https://api.nango.dev/proxy/v1.0/me" \
>   -H "Authorization: Bearer <NANGO-API-KEY>" \
>   -H "Provider-Config-Key: <INTEGRATION-ID>" \
>   -H "Connection-Id: <CONNECTION-ID>"
> ```

> [tab] Node
>
> Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
>
> ```typescript theme={null}
> import { Nango } from '@nangohq/node';
>
> const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
>
> const res = await nango.get({
>     endpoint: '/v1.0/me',
>     providerConfigKey: '<INTEGRATION-ID>',
>     connectionId: '<CONNECTION-ID>'
> });
>
> console.log(res.data);
> ```

Or fetch credentials with the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).

✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow our [Auth implementation guide](https://nango.dev/docs/guides/primitives/auth.md) to integrate Nango in your app.

To use your own OAuth app instead of the Nango-managed one, follow the setup guide linked below.

## 📚 Outlook Integration Guides

Nango maintained guides for common use cases.

* [How to register your own Outlook OAuth app](https://nango.dev/docs/api-integrations/outlook/how-to-register-your-own-outlook-api-oauth-app)\
  Register an OAuth app with Outlook and obtain credentials to connect it to Nango

* [How to set up webhooks with Outlook on Nango](https://nango.dev/docs/api-integrations/outlook/webhooks)\
  Receive real-time Outlook events in your app

Official docs: [Microsoft Graph API documentation](https://learn.microsoft.com/en-us/graph/overview)

## 🧩 Pre-built syncs & tools for Outlook

Explore Nango-provided tools in your dashboard. Extend and customize them to fit your needs.

### Others

| Function name | Description | Type |
| - | - | - |
| `add-event-attachment` | Attach a small file (under 3 MB) to an Outlook event. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `add-message-attachment` | Attach a file to a draft message. Note: 3 MB simple upload limit applies. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `cancel-event` | Cancel a meeting and send the cancellation notice to attendees | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `copy-message` | Copy a message to another mail folder. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-calendar` | Create a secondary calendar in the mailbox. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-draft-message` | Create a draft email message | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-event` | Create an event on a calendar. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-mail-folder` | Create a child mail folder in Outlook. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-calendar` | Delete a secondary calendar. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-event` | Delete an event from a calendar. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-message` | Delete a message from the mailbox | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `download-message-attachment` | Download the content of a file attachment on a message. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-calendar` | Retrieve a calendar by ID. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-event` | Retrieve an event by ID from the user's calendar | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-message` | Retrieve a message by ID. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-calendar-events` | List events from a calendar or date window. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-calendars` | List calendars in the mailbox. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-event-attachments` | List attachments on an event. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-mail-folder-children` | List child folders under a mail folder | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-mail-folders` | List top-level mail folders from the mailbox | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-message-attachments` | List attachments on a message. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-messages` | List messages from a mail folder. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `move-message` | Move a message to another mail folder. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `reply-all-to-message` | Reply to all recipients on a message | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `reply-to-message` | Reply to a message sender. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `send-draft-message` | Send an existing draft message. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `send-mail` | Send a new email message immediately | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-calendar` | Update calendar properties. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-event` | Update event details in Outlook calendar. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-message` | Update a draft or mutable message fields. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `calendars` | Sync mailbox calendars and basic calendar metadata | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `events` | Sync events in a bounded calendar view with delta tokens. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `mail-folders` | Sync the mail folder hierarchy | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `messages` | Sync folder-scoped messages with delta tokens | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.