The Google Chat REST API provides programmatic, RESTful access to Chat resources like messages, spaces, and attachments.
To call the Google Chat REST API, authenticate with user or service account credentials.
For details, see the reference documentation or go directly to the documentation for specific methods:
- spaces.create Creates a space.
- spaces.get Returns a space.
spaces.list Lists spaces the app belongs to.
spaces.members.create Adds a user or the invoking app to a space.
spaces.members.get Returns a member.
spaces.members.list Lists humans (not apps) that belong to the space.
spaces.messages.create Creates a message.
spaces.messages.delete Deletes a message.
spaces.messages.get Returns a message.
spaces.messages.update Updates a message.
spaces.messages.attachments.get Gets an attachment
media.download Gets the contents of an uploaded attachment
Locating the discovery document
The discovery document for this API is located at the following URL: