Docs
Get Authorize Url
GET /users/{userId}/connectors/authorize-url
GET
/users/{userId}/connectors/authorize-urlReturns the Microsoft sign-in URL that connects a Microsoft 365 account. Open it in the browser; Microsoft returns to redirectUri (the web app's /connectors/callback) with a code for Connectors_CreateConnector. returnPath is the page on this site to come back to. The link expires after 15 minutes.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| userId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| redirectUri | string | Optional | |
| returnPath | string | Optional |
Response
| Field | Type | Description |
|---|---|---|
| url | string| null |