Capability Sources

Read recent messages in a Google Chat space

Changed on

Returns messages newest first, one page at a time, with text, sender and thread. Uses only the calling member's selected connected Google account and requires the Google Chat permission on the Google Workspace connector.

get/v1/capabilities/google-workspace/chat-spaces/{spaceId}/messages

Request

  • Base URL
    https://api.openworklabs.com
  • URL
    https://api.openworklabs.com/v1/capabilities/google-workspace/chat-spaces/{spaceId}/messages
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

spaceIdstring required

The ID after spaces/ in a space name, e.g. AAAA1234 for spaces/AAAA1234.

Query parameters

pageSizeinteger
pageTokenstring

nextPageToken from the previous page of the same request.

Response

Google's validated response.

nextPageTokenstring

Changes