Skip to content

Latest commit

 

History

History
126 lines (104 loc) · 4.78 KB

File metadata and controls

126 lines (104 loc) · 4.78 KB
title Get conversation
description Retrieve the properties and relationships of conversation object.
author mikemcleanlive
ms.localizationpriority medium
ms.subservice entra-groups
doc_type apiPageType
ms.date 04/04/2024

Get conversation

Namespace: microsoft.graph

Retrieve the properties and relationships of conversation object.

[!INCLUDE national-cloud-support]

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Group.ReadWrite.All, Group.Read.All
Delegated (personal Microsoft account) Not supported.
Application Group.ReadWrite.All, Group.Read.All

HTTP request

GET /groups/{id}/conversations/{id}

Optional query parameters

This method supports the $select OData query parameter to help customize the response.

Request headers

Header Value
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and conversation object in the response body.

Example

Request

The following example shows a request.

GET https://graph.microsoft.com/v1.0/groups/4d81ce71-486c-41e9-afc5-e41bf2d0722a/conversations/AAQkAGRhZmRhMWM3LTYwZTktNDZmYy1hNWU1LThhZWU4NzI2YTEyZgAQABKPPJ682apIiV1UFlj7XxY=

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-type: application/json

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groups('4d81ce71-486c-41e9-afc5-e41bf2d0722a')/conversations/$entity",
    "id": "AAQkAGRhZmRhMWM3LTYwZTktNDZmYy1hNWU1LThhZWU4NzI2YTEyZgAQABKPPJ682apIiV1UFlj7XxY=",
    "topic": "The new Ask HR group is ready",
    "hasAttachments": false,
    "lastDeliveredDateTime": "2021-08-02T11:42:38Z",
    "uniqueSenders": [
        "Ask HR"
    ],
    "preview": "Welcome to the Ask HR group.Use the group to share ideas, files, and important dates.Start a conversationRead group conversations or start your own.Add to the team siteStart sharing and collaborating on content in SharePoint.Share filesView,"
}