{
  "info": {
    "_postman_id": "d887c6ae-4bce-4168-9fd4-917020f05f47",
    "name": "Microsoft Graph Admin Admin.admin chats.chat.Functions API",
    "description": "Microsoft Graph API for managing administrative resources in Microsoft Entra ID.\nThis API enables administrators to manage Microsoft Edge browser settings, Internet Explorer mode configurations,\nsite lists, shared browser sites, Microsoft 365 Apps installation options, people insights, service announcements,\nSharePoint settings, Copilot administration, directory administrative units, and admin consent policies.\n\nContact Support:\n Name: Microsoft Graph API Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-08-02T18:09:23.000Z",
    "updatedAt": "2026-08-02T18:09:23.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-d887c6ae-4bce-4168-9fd4-917020f05f47"
  },
  "item": [
    {
      "name": "chats",
      "item": [
        {
          "name": "getAllMessages()",
          "item": [
            {
              "name": "Microsoft Graph Invoke function getAllMessages",
              "id": "58b9bf69-9d04-4779-83d3-b6ce736b4f62",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/chats/getAllMessages()?model=<string>&$top=<integer>&$skip=<integer>&$search=<string>&$filter=<string>&$count=<boolean>&$select=<string>,<string>&$orderby=<string>,<string>&$expand=<string>,<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "chats",
                    "getAllMessages()"
                  ],
                  "query": [
                    {
                      "description": "The payment model for the API",
                      "key": "model",
                      "value": "<string>"
                    },
                    {
                      "description": "Show only the first n items",
                      "key": "$top",
                      "value": "<integer>"
                    },
                    {
                      "description": "Skip the first n items",
                      "key": "$skip",
                      "value": "<integer>"
                    },
                    {
                      "description": "Search items by search phrases",
                      "key": "$search",
                      "value": "<string>"
                    },
                    {
                      "description": "Filter items by property values",
                      "key": "$filter",
                      "value": "<string>"
                    },
                    {
                      "description": "Include count of items",
                      "key": "$count",
                      "value": "<boolean>"
                    },
                    {
                      "description": "Select properties to be returned",
                      "key": "$select",
                      "value": "<string>,<string>"
                    },
                    {
                      "description": "Order items by property values",
                      "key": "$orderby",
                      "value": "<string>,<string>"
                    },
                    {
                      "description": "Expand related entities",
                      "key": "$expand",
                      "value": "<string>,<string>"
                    }
                  ]
                },
                "description": "Get all messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs."
              },
              "response": [
                {
                  "id": "2bba40e9-d43d-46f7-867c-a7656505b9f3",
                  "name": "Success",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/chats/getAllMessages()?model=<string>&$top=<integer>&$skip=<integer>&$search=<string>&$filter=<string>&$count=<boolean>&$select=<string>,<string>&$orderby=<string>,<string>&$expand=<string>,<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "chats",
                        "getAllMessages()"
                      ],
                      "query": [
                        {
                          "description": "The payment model for the API",
                          "key": "model",
                          "value": "<string>"
                        },
                        {
                          "description": "Show only the first n items",
                          "key": "$top",
                          "value": "<integer>"
                        },
                        {
                          "description": "Skip the first n items",
                          "key": "$skip",
                          "value": "<integer>"
                        },
                        {
                          "description": "Search items by search phrases",
                          "key": "$search",
                          "value": "<string>"
                        },
                        {
                          "description": "Filter items by property values",
                          "key": "$filter",
                          "value": "<string>"
                        },
                        {
                          "description": "Include count of items",
                          "key": "$count",
                          "value": "<boolean>"
                        },
                        {
                          "description": "Select properties to be returned",
                          "key": "$select",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Order items by property values",
                          "key": "$orderby",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Expand related entities",
                          "key": "$expand",
                          "value": "<string>,<string>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"@odata.count\": \"<long>\",\n  \"@odata.nextLink\": \"<string>\",\n  \"value\": [\n    {\n      \"@odata.type\": \"<string>\",\n      \"id\": \"<string>\",\n      \"attachments\": [\n        {\n          \"@odata.type\": \"<string>\",\n          \"content\": \"<string>\",\n          \"contentType\": \"<string>\",\n          \"contentUrl\": \"<string>\",\n          \"id\": \"<string>\",\n          \"name\": \"<string>\",\n          \"teamsAppId\": \"<string>\",\n          \"thumbnailUrl\": \"<string>\"\n        }\n      ],\n      \"body\": {\n        \"@odata.type\": \"<string>\",\n        \"content\": \"<string>\",\n        \"contentType\": \"text\"\n      },\n      \"channelIdentity\": {\n        \"@odata.type\": \"<string>\",\n        \"channelId\": \"<string>\",\n        \"teamId\": \"<string>\"\n      },\n      \"chatId\": \"<string>\",\n      \"createdDateTime\": \"56603112-11-18T09:16:05+15:45\",\n      \"deletedDateTime\": \"9336545292-08-09T23:57:12+06:58\",\n      \"etag\": \"<string>\",\n      \"eventDetail\": {\n        \"@odata.type\": \"<string>\"\n      },\n      \"from\": {\n        \"@odata.type\": \"<string>\",\n        \"application\": {\n          \"@odata.type\": \"<string>\",\n          \"displayName\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        \"device\": {\n          \"@odata.type\": \"<string>\",\n          \"displayName\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        \"user\": {\n          \"@odata.type\": \"<string>\",\n          \"displayName\": \"<string>\",\n          \"id\": \"<string>\"\n        }\n      },\n      \"importance\": \"unknownFutureValue\",\n      \"lastEditedDateTime\": \"75228-12-04T14:03:16-30:80\",\n      \"lastModifiedDateTime\": \"149637-12-31T20:00:31.647-29:04\",\n      \"locale\": \"<string>\",\n      \"mentions\": [\n        {\n          \"@odata.type\": \"<string>\",\n          \"id\": \"<number>\",\n          \"mentioned\": {\n            \"@odata.type\": \"<string>\",\n            \"application\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            },\n            \"device\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            },\n            \"user\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            },\n            \"conversation\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\",\n              \"conversationIdentityType\": \"team\"\n            }\n          },\n          \"mentionText\": \"<string>\"\n        }\n      ],\n      \"messageHistory\": [\n        {\n          \"@odata.type\": \"<string>\",\n          \"actions\": \"reactionRemoved\",\n          \"modifiedDateTime\": \"9444-11-30T19:31:38.96318569445Z\",\n          \"reaction\": {\n            \"@odata.type\": \"<string>\",\n            \"createdDateTime\": \"8269770300-06-26T08:30:55.77353499Z\",\n            \"displayName\": \"<string>\",\n            \"reactionContentUrl\": \"<string>\",\n            \"reactionType\": \"<string>\",\n            \"user\": {\n              \"@odata.type\": \"<string>\",\n              \"application\": {\n                \"@odata.type\": \"<string>\",\n                \"displayName\": \"<string>\",\n                \"id\": \"<string>\"\n              },\n              \"device\": {\n                \"@odata.type\": \"<string>\",\n                \"displayName\": \"<string>\",\n                \"id\": \"<string>\"\n              },\n              \"user\": {\n                \"@odata.type\": \"<string>\",\n                \"displayName\": \"<string>\",\n                \"id\": \"<string>\"\n              }\n            }\n          }\n        }\n      ],\n      \"messageType\": \"message\",\n      \"policyViolation\": {\n        \"@odata.type\": \"<string>\",\n        \"dlpAction\": \"blockAccess\",\n        \"justificationText\": \"<string>\",\n        \"policyTip\": {\n          \"@odata.type\": \"<string>\",\n          \"complianceUrl\": \"<string>\",\n          \"generalText\": \"<string>\",\n          \"matchedConditionDescriptions\": [\n            \"<string>\"\n          ]\n        },\n        \"userAction\": \"none\",\n        \"verdictDetails\": \"none\"\n      },\n      \"reactions\": [\n        {\n          \"@odata.type\": \"<string>\",\n          \"createdDateTime\": \"39232339008-02-10T20:03:03.16277-43:84\",\n          \"displayName\": \"<string>\",\n          \"reactionContentUrl\": \"<string>\",\n          \"reactionType\": \"<string>\",\n          \"user\": {\n            \"@odata.type\": \"<string>\",\n            \"application\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            },\n            \"device\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            },\n            \"user\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            }\n          }\n        }\n      ],\n      \"replyToId\": \"<string>\",\n      \"subject\": \"<string>\",\n      \"summary\": \"<string>\",\n      \"webUrl\": \"<string>\",\n      \"hostedContents\": [\n        {\n          \"@odata.type\": \"<string>\",\n          \"id\": \"<string>\",\n          \"contentBytes\": \"<string>\",\n          \"contentType\": \"<string>\"\n        }\n      ],\n      \"replies\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/microsoft.graph.chatMessage detected>\"\n        }\n      ]\n    }\n  ]\n}",
                  "createdAt": "2026-08-02T18:09:23.000Z",
                  "updatedAt": "2026-08-02T18:09:23.000Z",
                  "uid": "35240-2bba40e9-d43d-46f7-867c-a7656505b9f3"
                },
                {
                  "id": "cbc79864-c25a-4358-8771-3c2a38c000ec",
                  "name": "error",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/chats/getAllMessages()?model=<string>&$top=<integer>&$skip=<integer>&$search=<string>&$filter=<string>&$count=<boolean>&$select=<string>,<string>&$orderby=<string>,<string>&$expand=<string>,<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "chats",
                        "getAllMessages()"
                      ],
                      "query": [
                        {
                          "description": "The payment model for the API",
                          "key": "model",
                          "value": "<string>"
                        },
                        {
                          "description": "Show only the first n items",
                          "key": "$top",
                          "value": "<integer>"
                        },
                        {
                          "description": "Skip the first n items",
                          "key": "$skip",
                          "value": "<integer>"
                        },
                        {
                          "description": "Search items by search phrases",
                          "key": "$search",
                          "value": "<string>"
                        },
                        {
                          "description": "Filter items by property values",
                          "key": "$filter",
                          "value": "<string>"
                        },
                        {
                          "description": "Include count of items",
                          "key": "$count",
                          "value": "<boolean>"
                        },
                        {
                          "description": "Select properties to be returned",
                          "key": "$select",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Order items by property values",
                          "key": "$orderby",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Expand related entities",
                          "key": "$expand",
                          "value": "<string>,<string>"
                        }
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\",\n    \"target\": \"<string>\",\n    \"details\": [\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      },\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      }\n    ],\n    \"innerError\": {\n      \"@odata.type\": \"<string>\",\n      \"request-id\": \"<string>\",\n      \"client-request-id\": \"<string>\",\n      \"date\": \"1011562525-12-22T10:58:45-27:13\"\n    }\n  }\n}",
                  "createdAt": "2026-08-02T18:09:23.000Z",
                  "updatedAt": "2026-08-02T18:09:23.000Z",
                  "uid": "35240-cbc79864-c25a-4358-8771-3c2a38c000ec"
                },
                {
                  "id": "22970ee6-fbc3-4d60-a623-fa9a53403b58",
                  "name": "error",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/chats/getAllMessages()?model=<string>&$top=<integer>&$skip=<integer>&$search=<string>&$filter=<string>&$count=<boolean>&$select=<string>,<string>&$orderby=<string>,<string>&$expand=<string>,<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "chats",
                        "getAllMessages()"
                      ],
                      "query": [
                        {
                          "description": "The payment model for the API",
                          "key": "model",
                          "value": "<string>"
                        },
                        {
                          "description": "Show only the first n items",
                          "key": "$top",
                          "value": "<integer>"
                        },
                        {
                          "description": "Skip the first n items",
                          "key": "$skip",
                          "value": "<integer>"
                        },
                        {
                          "description": "Search items by search phrases",
                          "key": "$search",
                          "value": "<string>"
                        },
                        {
                          "description": "Filter items by property values",
                          "key": "$filter",
                          "value": "<string>"
                        },
                        {
                          "description": "Include count of items",
                          "key": "$count",
                          "value": "<boolean>"
                        },
                        {
                          "description": "Select properties to be returned",
                          "key": "$select",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Order items by property values",
                          "key": "$orderby",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Expand related entities",
                          "key": "$expand",
                          "value": "<string>,<string>"
                        }
                      ]
                    }
                  },
                  "status": "Internal Server Error",
                  "code": 500,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\",\n    \"target\": \"<string>\",\n    \"details\": [\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      },\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      }\n    ],\n    \"innerError\": {\n      \"@odata.type\": \"<string>\",\n      \"request-id\": \"<string>\",\n      \"client-request-id\": \"<string>\",\n      \"date\": \"1011562525-12-22T10:58:45-27:13\"\n    }\n  }\n}",
                  "createdAt": "2026-08-02T18:09:23.000Z",
                  "updatedAt": "2026-08-02T18:09:23.000Z",
                  "uid": "35240-22970ee6-fbc3-4d60-a623-fa9a53403b58"
                }
              ],
              "createdAt": "2026-08-02T18:09:23.000Z",
              "updatedAt": "2026-08-02T18:09:23.000Z",
              "uid": "35240-58b9bf69-9d04-4779-83d3-b6ce736b4f62"
            }
          ],
          "id": "ede0e6f5-eced-4820-addc-711c21b469b1",
          "createdAt": "2026-08-02T18:09:23.000Z",
          "updatedAt": "2026-08-02T18:09:23.000Z",
          "uid": "35240-ede0e6f5-eced-4820-addc-711c21b469b1"
        },
        {
          "name": "getAllRetainedMessages()",
          "item": [
            {
              "name": "Microsoft Graph Invoke function getAllRetainedMessages",
              "id": "b77b38dd-d273-4d62-8587-959ecd11d7e1",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/chats/getAllRetainedMessages()?$top=<integer>&$skip=<integer>&$search=<string>&$filter=<string>&$count=<boolean>&$select=<string>,<string>&$orderby=<string>,<string>&$expand=<string>,<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "chats",
                    "getAllRetainedMessages()"
                  ],
                  "query": [
                    {
                      "description": "Show only the first n items",
                      "key": "$top",
                      "value": "<integer>"
                    },
                    {
                      "description": "Skip the first n items",
                      "key": "$skip",
                      "value": "<integer>"
                    },
                    {
                      "description": "Search items by search phrases",
                      "key": "$search",
                      "value": "<string>"
                    },
                    {
                      "description": "Filter items by property values",
                      "key": "$filter",
                      "value": "<string>"
                    },
                    {
                      "description": "Include count of items",
                      "key": "$count",
                      "value": "<boolean>"
                    },
                    {
                      "description": "Select properties to be returned",
                      "key": "$select",
                      "value": "<string>,<string>"
                    },
                    {
                      "description": "Order items by property values",
                      "key": "$orderby",
                      "value": "<string>,<string>"
                    },
                    {
                      "description": "Expand related entities",
                      "key": "$expand",
                      "value": "<string>,<string>"
                    }
                  ]
                },
                "description": "Get all retained messages from all chats that a user is a participant in, including one-on-one chats, group chats, and meeting chats. To learn more about how to use the Microsoft Teams export APIs to export content, see Export content with the Microsoft Teams export APIs."
              },
              "response": [
                {
                  "id": "0e702d23-c5db-426c-940a-08a17ec899cc",
                  "name": "Success",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/chats/getAllRetainedMessages()?$top=<integer>&$skip=<integer>&$search=<string>&$filter=<string>&$count=<boolean>&$select=<string>,<string>&$orderby=<string>,<string>&$expand=<string>,<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "chats",
                        "getAllRetainedMessages()"
                      ],
                      "query": [
                        {
                          "description": "Show only the first n items",
                          "key": "$top",
                          "value": "<integer>"
                        },
                        {
                          "description": "Skip the first n items",
                          "key": "$skip",
                          "value": "<integer>"
                        },
                        {
                          "description": "Search items by search phrases",
                          "key": "$search",
                          "value": "<string>"
                        },
                        {
                          "description": "Filter items by property values",
                          "key": "$filter",
                          "value": "<string>"
                        },
                        {
                          "description": "Include count of items",
                          "key": "$count",
                          "value": "<boolean>"
                        },
                        {
                          "description": "Select properties to be returned",
                          "key": "$select",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Order items by property values",
                          "key": "$orderby",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Expand related entities",
                          "key": "$expand",
                          "value": "<string>,<string>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"@odata.count\": \"<long>\",\n  \"@odata.nextLink\": \"<string>\",\n  \"value\": [\n    {\n      \"@odata.type\": \"<string>\",\n      \"id\": \"<string>\",\n      \"attachments\": [\n        {\n          \"@odata.type\": \"<string>\",\n          \"content\": \"<string>\",\n          \"contentType\": \"<string>\",\n          \"contentUrl\": \"<string>\",\n          \"id\": \"<string>\",\n          \"name\": \"<string>\",\n          \"teamsAppId\": \"<string>\",\n          \"thumbnailUrl\": \"<string>\"\n        }\n      ],\n      \"body\": {\n        \"@odata.type\": \"<string>\",\n        \"content\": \"<string>\",\n        \"contentType\": \"text\"\n      },\n      \"channelIdentity\": {\n        \"@odata.type\": \"<string>\",\n        \"channelId\": \"<string>\",\n        \"teamId\": \"<string>\"\n      },\n      \"chatId\": \"<string>\",\n      \"createdDateTime\": \"56603112-11-18T09:16:05+15:45\",\n      \"deletedDateTime\": \"9336545292-08-09T23:57:12+06:58\",\n      \"etag\": \"<string>\",\n      \"eventDetail\": {\n        \"@odata.type\": \"<string>\"\n      },\n      \"from\": {\n        \"@odata.type\": \"<string>\",\n        \"application\": {\n          \"@odata.type\": \"<string>\",\n          \"displayName\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        \"device\": {\n          \"@odata.type\": \"<string>\",\n          \"displayName\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        \"user\": {\n          \"@odata.type\": \"<string>\",\n          \"displayName\": \"<string>\",\n          \"id\": \"<string>\"\n        }\n      },\n      \"importance\": \"unknownFutureValue\",\n      \"lastEditedDateTime\": \"75228-12-04T14:03:16-30:80\",\n      \"lastModifiedDateTime\": \"149637-12-31T20:00:31.647-29:04\",\n      \"locale\": \"<string>\",\n      \"mentions\": [\n        {\n          \"@odata.type\": \"<string>\",\n          \"id\": \"<number>\",\n          \"mentioned\": {\n            \"@odata.type\": \"<string>\",\n            \"application\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            },\n            \"device\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            },\n            \"user\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            },\n            \"conversation\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\",\n              \"conversationIdentityType\": \"team\"\n            }\n          },\n          \"mentionText\": \"<string>\"\n        }\n      ],\n      \"messageHistory\": [\n        {\n          \"@odata.type\": \"<string>\",\n          \"actions\": \"reactionRemoved\",\n          \"modifiedDateTime\": \"9444-11-30T19:31:38.96318569445Z\",\n          \"reaction\": {\n            \"@odata.type\": \"<string>\",\n            \"createdDateTime\": \"8269770300-06-26T08:30:55.77353499Z\",\n            \"displayName\": \"<string>\",\n            \"reactionContentUrl\": \"<string>\",\n            \"reactionType\": \"<string>\",\n            \"user\": {\n              \"@odata.type\": \"<string>\",\n              \"application\": {\n                \"@odata.type\": \"<string>\",\n                \"displayName\": \"<string>\",\n                \"id\": \"<string>\"\n              },\n              \"device\": {\n                \"@odata.type\": \"<string>\",\n                \"displayName\": \"<string>\",\n                \"id\": \"<string>\"\n              },\n              \"user\": {\n                \"@odata.type\": \"<string>\",\n                \"displayName\": \"<string>\",\n                \"id\": \"<string>\"\n              }\n            }\n          }\n        }\n      ],\n      \"messageType\": \"message\",\n      \"policyViolation\": {\n        \"@odata.type\": \"<string>\",\n        \"dlpAction\": \"blockAccess\",\n        \"justificationText\": \"<string>\",\n        \"policyTip\": {\n          \"@odata.type\": \"<string>\",\n          \"complianceUrl\": \"<string>\",\n          \"generalText\": \"<string>\",\n          \"matchedConditionDescriptions\": [\n            \"<string>\"\n          ]\n        },\n        \"userAction\": \"none\",\n        \"verdictDetails\": \"none\"\n      },\n      \"reactions\": [\n        {\n          \"@odata.type\": \"<string>\",\n          \"createdDateTime\": \"39232339008-02-10T20:03:03.16277-43:84\",\n          \"displayName\": \"<string>\",\n          \"reactionContentUrl\": \"<string>\",\n          \"reactionType\": \"<string>\",\n          \"user\": {\n            \"@odata.type\": \"<string>\",\n            \"application\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            },\n            \"device\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            },\n            \"user\": {\n              \"@odata.type\": \"<string>\",\n              \"displayName\": \"<string>\",\n              \"id\": \"<string>\"\n            }\n          }\n        }\n      ],\n      \"replyToId\": \"<string>\",\n      \"subject\": \"<string>\",\n      \"summary\": \"<string>\",\n      \"webUrl\": \"<string>\",\n      \"hostedContents\": [\n        {\n          \"@odata.type\": \"<string>\",\n          \"id\": \"<string>\",\n          \"contentBytes\": \"<string>\",\n          \"contentType\": \"<string>\"\n        }\n      ],\n      \"replies\": [\n        {\n          \"value\": \"<Circular reference to #/components/schemas/microsoft.graph.chatMessage detected>\"\n        }\n      ]\n    }\n  ]\n}",
                  "createdAt": "2026-08-02T18:09:23.000Z",
                  "updatedAt": "2026-08-02T18:09:23.000Z",
                  "uid": "35240-0e702d23-c5db-426c-940a-08a17ec899cc"
                },
                {
                  "id": "d0f3c046-3af9-4e4b-ba26-f24fd335b824",
                  "name": "error",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/chats/getAllRetainedMessages()?$top=<integer>&$skip=<integer>&$search=<string>&$filter=<string>&$count=<boolean>&$select=<string>,<string>&$orderby=<string>,<string>&$expand=<string>,<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "chats",
                        "getAllRetainedMessages()"
                      ],
                      "query": [
                        {
                          "description": "Show only the first n items",
                          "key": "$top",
                          "value": "<integer>"
                        },
                        {
                          "description": "Skip the first n items",
                          "key": "$skip",
                          "value": "<integer>"
                        },
                        {
                          "description": "Search items by search phrases",
                          "key": "$search",
                          "value": "<string>"
                        },
                        {
                          "description": "Filter items by property values",
                          "key": "$filter",
                          "value": "<string>"
                        },
                        {
                          "description": "Include count of items",
                          "key": "$count",
                          "value": "<boolean>"
                        },
                        {
                          "description": "Select properties to be returned",
                          "key": "$select",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Order items by property values",
                          "key": "$orderby",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Expand related entities",
                          "key": "$expand",
                          "value": "<string>,<string>"
                        }
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\",\n    \"target\": \"<string>\",\n    \"details\": [\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      },\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      }\n    ],\n    \"innerError\": {\n      \"@odata.type\": \"<string>\",\n      \"request-id\": \"<string>\",\n      \"client-request-id\": \"<string>\",\n      \"date\": \"1011562525-12-22T10:58:45-27:13\"\n    }\n  }\n}",
                  "createdAt": "2026-08-02T18:09:23.000Z",
                  "updatedAt": "2026-08-02T18:09:23.000Z",
                  "uid": "35240-d0f3c046-3af9-4e4b-ba26-f24fd335b824"
                },
                {
                  "id": "4b2db835-fa1a-4997-ad56-a3b83d919532",
                  "name": "error",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/chats/getAllRetainedMessages()?$top=<integer>&$skip=<integer>&$search=<string>&$filter=<string>&$count=<boolean>&$select=<string>,<string>&$orderby=<string>,<string>&$expand=<string>,<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "chats",
                        "getAllRetainedMessages()"
                      ],
                      "query": [
                        {
                          "description": "Show only the first n items",
                          "key": "$top",
                          "value": "<integer>"
                        },
                        {
                          "description": "Skip the first n items",
                          "key": "$skip",
                          "value": "<integer>"
                        },
                        {
                          "description": "Search items by search phrases",
                          "key": "$search",
                          "value": "<string>"
                        },
                        {
                          "description": "Filter items by property values",
                          "key": "$filter",
                          "value": "<string>"
                        },
                        {
                          "description": "Include count of items",
                          "key": "$count",
                          "value": "<boolean>"
                        },
                        {
                          "description": "Select properties to be returned",
                          "key": "$select",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Order items by property values",
                          "key": "$orderby",
                          "value": "<string>,<string>"
                        },
                        {
                          "description": "Expand related entities",
                          "key": "$expand",
                          "value": "<string>,<string>"
                        }
                      ]
                    }
                  },
                  "status": "Internal Server Error",
                  "code": 500,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\",\n    \"target\": \"<string>\",\n    \"details\": [\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      },\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      }\n    ],\n    \"innerError\": {\n      \"@odata.type\": \"<string>\",\n      \"request-id\": \"<string>\",\n      \"client-request-id\": \"<string>\",\n      \"date\": \"1011562525-12-22T10:58:45-27:13\"\n    }\n  }\n}",
                  "createdAt": "2026-08-02T18:09:23.000Z",
                  "updatedAt": "2026-08-02T18:09:23.000Z",
                  "uid": "35240-4b2db835-fa1a-4997-ad56-a3b83d919532"
                }
              ],
              "createdAt": "2026-08-02T18:09:23.000Z",
              "updatedAt": "2026-08-02T18:09:23.000Z",
              "uid": "35240-b77b38dd-d273-4d62-8587-959ecd11d7e1"
            }
          ],
          "id": "8d886918-0f0f-4a45-b54f-dc2ab337d66f",
          "createdAt": "2026-08-02T18:09:23.000Z",
          "updatedAt": "2026-08-02T18:09:23.000Z",
          "uid": "35240-8d886918-0f0f-4a45-b54f-dc2ab337d66f"
        }
      ],
      "id": "5a9adc5d-2577-43b0-9eb8-3e1f4d2df0ef",
      "createdAt": "2026-08-02T18:09:23.000Z",
      "updatedAt": "2026-08-02T18:09:23.000Z",
      "uid": "35240-5a9adc5d-2577-43b0-9eb8-3e1f4d2df0ef"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://graph.microsoft.com/v1.0"
    }
  ]
}