Method: spaces.get

Stay organized with collections Save and categorize content based on your preferences.

Returns a space. Requires authentication. Fully supports service account authentication.

Supports user authentication as part of the Google Workspace Developer Preview Program, which grants early access to certain features. User authentication requires the chat.spaces or chat.spaces.readonly authorization scope.

HTTP request

GET https://chat.googleapis.com/v1/{name=spaces/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of the space, in the form "spaces/*".

Format: spaces/{space}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Space.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/chat.spaces
  • https://www.googleapis.com/auth/chat.spaces.readonly
  • https://www.googleapis.com/auth/chat.bot

For more information, see the Authorization guide.