google-apps-scripthangouts-api

Hangouts API: Is "Room Name" exposed anywhere in API?


I've read the documentation at https://developers.google.com/hangouts/chat/reference/rest/v1/spaces/get

and I've successfully retrieved "memberships" information in JSON format using spaces.get. However, I'm not seeing anywhere I can get the room name - for example, I'd like to ideally be able to automatically log the corresponding room name that my bot is added to for the purposes of an internal process my organization uses.

Is this possible? Thanks.


Solution

  • Is the displayName from the response corresponds to the Room Name? You will need to indicate the type of a space - ROOM.