- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Returns details about a space. For an example, see Get details about a space.
Supports the following types of authentication:
User authentication You can authenticate and authorize this method with administrator privileges by setting the
useAdminAccess
field in the request.
HTTP request
GET https://chat.googleapis.com/v1/{name=spaces/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Resource name of the space, in the form Format: |
Query parameters
Parameters | |
---|---|
use |
Optional. When The calling user must be a Google Workspace administrator with the manage chat and spaces conversations privilege. Requires the |
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.admin.spaces
https://www.googleapis.com/auth/chat.admin.spaces.readonly
https://www.googleapis.com/auth/chat.spaces
https://www.googleapis.com/auth/chat.spaces.readonly
https://www.googleapis.com/auth/chat.bot
https://www.googleapis.com/auth/chat.app.spaces
For more information, see the Authorization guide.