{ "opencollection": "1.0.0", "info": { "name": "Microsoft Copilot Microsoft 365 Copilot APIs Change Notifications Chat API", "version": "1.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Chat", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Copilot Start a Chat Conversation", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/copilot/chat/conversations", "headers": [ { "name": "Authorization", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Start a new multi-turn conversation with Microsoft 365 Copilot. The Chat API allows you to programmatically engage in conversations using enterprise search grounding and web search grounding. Responses are grounded in Microsoft 365 data and web content while respecting all existing permissions and compliance controls. This API is currently in preview." }, { "info": { "name": "Microsoft Copilot Continue a Chat Conversation", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/copilot/chat/conversations/:conversationId/messages", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "conversationId", "value": "500123", "type": "path", "description": "The unique identifier of the conversation to continue." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Send a follow-up message in an existing multi-turn conversation with Microsoft 365 Copilot. Uses the conversation context from prior turns to provide more relevant and contextual responses." } ] } ], "bundled": true }