Method: subscriptions.create Stay organized with collections Save and categorize content based on your preferences.
Page Summary
This method creates a Google Workspace subscription and provides instructions on how to use it through a provided link.
The request can be previewed without creating a subscription by setting the
validateOnlyquery parameter totrue.A successful response includes an
Operationobject containing the newly createdSubscriptiondetails.Authorization requires one of the listed OAuth scopes, such as
https://www.googleapis.com/auth/chat.spacesor others related to chat, messages, memberships, and meetings, with more information available in the Authorization guide.
Creates a Google Workspace subscription. To learn how to use this method, seeCreate a Google Workspace subscription.
HTTP request
POST https://workspaceevents.googleapis.com/v1/subscriptions
The URL usesgRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
validateOnly |
Optional. If set to |
Request body
The request body contains an instance ofSubscription.
Response body
If successful, the response body contains a newly created instance ofOperation.
- The
metadatafield contains an empty array. - The
responsefield contains a new instance ofSubscription.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/chat.spaceshttps://www.googleapis.com/auth/chat.spaces.readonlyhttps://www.googleapis.com/auth/chat.messageshttps://www.googleapis.com/auth/chat.messages.readonlyhttps://www.googleapis.com/auth/chat.messages.reactionshttps://www.googleapis.com/auth/chat.messages.reactions.readonlyhttps://www.googleapis.com/auth/chat.membershipshttps://www.googleapis.com/auth/chat.memberships.readonlyhttps://www.googleapis.com/auth/meetings.space.createdhttps://www.googleapis.com/auth/meetings.space.readonly
For more information, see theAuthorization guide.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-10 UTC.