Google Chat API (chat:v1)

2026-12-06

3 new methods

Additions

    Methods
  • ▼ ▲ chat.spaces.threads.get

      Flat Path : v1/spaces/{spacesId}/threads/{threadsId}

      HTTP Method : GET

      Parameters :

        name

          Required : Yes

          Pattern : ^spaces/[^/]+/threads/[^/]+$

          Type : string

          Location : path

          Description : Required. Resource name of the thread to retrieve. Format: `spaces/{space}/threads/{thread}`

      Description : Gets details about a thread in a 1:1 App DM space. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` Only supported in 1:1 App DM spaces. Calls in other space types or using user authentication will return an error.

      Scopes : https://www.googleapis.com/auth/chat.bot

      Path : v1/{+name}

      Parameter Order : name

  • ▼ ▲ chat.spaces.threads.list

      Scopes : https://www.googleapis.com/auth/chat.bot

      Description : Lists threads in a 1:1 App DM space. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` Only supported in 1:1 App DM spaces. Calls in other space types or using user authentication will return an error.

      Parameter Order : parent

      Flat Path : v1/spaces/{spacesId}/threads

      HTTP Method : GET

      Parameters :

        pageToken

          Description : Optional. A page token received from a previous `ListThreads` call. Provide this to retrieve the subsequent page.

          Type : string

          Location : query

        pageSize

          Description : Optional. The maximum number of threads to return. The service may return fewer than this value. If unspecified, at most 50 threads will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

          Format : int32

          Type : integer

          Location : query

        parent

          Pattern : ^spaces/[^/]+$

          Type : string

          Location : path

          Description : Required. The resource name of the space to list threads from. Format: `spaces/{space}`

          Required : Yes

      Path : v1/{+parent}/threads

  • ▼ ▲ chat.spaces.threads.patch

      Scopes : https://www.googleapis.com/auth/chat.bot

      Flat Path : v1/spaces/{spacesId}/threads/{threadsId}

      Path : v1/{+name}

      HTTP Method : PATCH

      Parameters :

        name

          Location : path

          Type : string

          Description : Identifier. Resource name of the thread. Example: `spaces/{space}/threads/{thread}`

          Required : Yes

          Pattern : ^spaces/[^/]+/threads/[^/]+$

        updateMask

          Location : query

          Format : google-fieldmask

          Description : Required. The list of fields to update. Specifying `*` or `thread_metadata` replaces all `thread_metadata` fields, so the request must include both `title` and `icon`. To update a single field, specify `thread_metadata.title` or `thread_metadata.icon`. Currently supported field paths: - `thread_metadata` - `thread_metadata.title` - `thread_metadata.icon`

          Type : string

      Description : Updates a thread in a 1:1 App DM space. Supports the following types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` Only supported in 1:1 App DM spaces. Calls in other space types or using user authentication will return an error.

      Parameter Order : name