GuideLab Docs

Authorize a laboratory Microsoft work account

POST
/integrations/microsoft-365/authorize

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/integrations/microsoft-365/authorize" \  -H "Content-Type: application/json" \  -d '{}'
{  "url": "http://example.com"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}