Create, set up, get, list, update, and delete spaces

The Space resource represents a place where people and apps can converse, share files, and collaborate. There are several types of spaces:

  • Direct messages (DMs) are conversations between two users or a user and a Chat app.
  • Group chats are conversations between three or more users and Chat apps.
  • Named spaces are persistent places where people send messages, share files, and collaborate.

With the Google Chat API, you can asynchronously create, get, list, update, delete, or set up a space in Google Chat by calling corresponding methods. The guides in this section explain how to do the following:

  • Create a space, a place where people and Chat apps can converse, share files, and collaborate.
  • Set up a space to create it and then add people and Chat apps to it.
  • Get a space to see its details, like its display name, description, and guidelines.
  • List spaces to see a paginated, filterable list of spaces.
  • Update a space to change its attributes, like its user-visible display name, description, and guidelines.
  • Delete a space when it's no longer needed.