Method: subscriptions.get

  • This method retrieves details about a specific Google Workspace subscription using an HTTP GET request.

  • The request requires a path parameter specifying the subscription's resource name in the format subscriptions/{subscription}.

  • A successful response includes a Subscription object containing the subscription details.

  • Authorization requires one of the listed OAuth scopes, providing access to various Chat and Meetings features.

  • You can refer to the provided links for detailed usage instructions and authorization guidance.

Gets details about a Google Workspace subscription. To learn how to use this method, see Get details about a Google Workspace subscription.

HTTP request

GET https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of the subscription.

Format: subscriptions/{subscription}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Subscription.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/chat.bot
  • https://www.googleapis.com/auth/chat.spaces
  • https://www.googleapis.com/auth/chat.spaces.readonly
  • https://www.googleapis.com/auth/chat.messages
  • https://www.googleapis.com/auth/chat.messages.readonly
  • https://www.googleapis.com/auth/chat.messages.reactions
  • https://www.googleapis.com/auth/chat.messages.reactions.readonly
  • https://www.googleapis.com/auth/chat.memberships
  • https://www.googleapis.com/auth/chat.memberships.readonly
  • https://www.googleapis.com/auth/meetings.space.created
  • https://www.googleapis.com/auth/meetings.space.readonly

For more information, see the Authorization guide.