{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft 365 (Microsoft Graph API) Calendar Mail API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Mail",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List the signed-in user's messages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/me/messages",
            "params": [
              {
                "name": "$filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List the signed-in user's messages"
        }
      ]
    }
  ],
  "bundled": true
}