Create chat thread

Important: APIs under the /beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.

Create a new chat thread in the specified channel by supplying the root messages.


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
Delegated (personal Microsoft account) Not supported.
Application Not supported.

Currently, only delegated permissions are supported for this operation. Future releases will support application permissions.

HTTP request

POST /teams/{id}/channels/{id}/chatThreads

Request headers

Name Type Description
Authorization string Bearer {token}. Required.

Request body

In the request body, supply a JSON representation of a chatThread object that contains the rootMessage property.


If successful, this method returns 201 Created response code with an empty reponse body.



Here is an example of the request.

Content-type: application/json

  "rootMessage": {
      "body": {
        "contentType": 1,
        "content": "<h1>Hello world</h1>"

Currently, the contentType must be specified as an integer rather than a string: 0 for "text" or 1 for "html". Future API releases will fix this.


Here is an example of the response.

HTTP/1.1 201 Created
Content-type: application/json
Content-length: 160

  "id": "id-value"