Microsoft Graph · Schema

microsoft.graph.mailFolder

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
childFolderCount number The number of immediate child mailFolders in the current mailFolder.
displayName string The mailFolder's display name.
isHidden boolean Indicates whether the mailFolder is hidden. This property can be set only when creating the folder. Find more information in Hidden mail folders.
parentFolderId string The unique identifier for the mailFolder's parent mailFolder.
totalItemCount number The number of items in the mailFolder.
unreadItemCount number The number of items in the mailFolder marked as unread.
childFolders array The collection of child folders in the mailFolder.
messageRules array The collection of rules that apply to the user's Inbox folder.
messages array The collection of messages in the mailFolder.
multiValueExtendedProperties array The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable.
singleValueExtendedProperties array The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphmailfolder-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.mailFolder",
  "title": "microsoft.graph.mailFolder",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "mailFolder",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "childFolderCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The number of immediate child mailFolders in the current mailFolder.",
          "format": "int32",
          "nullable": true
        },
        "displayName": {
          "type": "string",
          "description": "The mailFolder's display name.",
          "nullable": true
        },
        "isHidden": {
          "type": "boolean",
          "description": "Indicates whether the mailFolder is hidden. This property can be set only when creating the folder. Find more information in Hidden mail folders.",
          "nullable": true
        },
        "parentFolderId": {
          "type": "string",
          "description": "The unique identifier for the mailFolder's parent mailFolder.",
          "nullable": true
        },
        "totalItemCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The number of items in the mailFolder.",
          "format": "int32",
          "nullable": true
        },
        "unreadItemCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The number of items in the mailFolder marked as unread.",
          "format": "int32",
          "nullable": true
        },
        "childFolders": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.mailFolder"
          },
          "description": "The collection of child folders in the mailFolder.",
          "x-ms-navigationProperty": true
        },
        "messageRules": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.messageRule"
          },
          "description": "The collection of rules that apply to the user's Inbox folder.",
          "x-ms-navigationProperty": true
        },
        "messages": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.message"
          },
          "description": "The collection of messages in the mailFolder.",
          "x-ms-navigationProperty": true
        },
        "multiValueExtendedProperties": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.multiValueLegacyExtendedProperty"
          },
          "description": "The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "singleValueExtendedProperties": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.singleValueLegacyExtendedProperty"
          },
          "description": "The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "discriminator": {
        "propertyName": "@odata.type",
        "mapping": {
          "#microsoft.graph.mailSearchFolder": "#/components/schemas/microsoft.graph.mailSearchFolder"
        }
      }
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-graph-microsoftgraphmailfolder"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.