Update your Google Business Profile API integration before critical endpoints are disabled. Review the deprecation schedule and instructions to avoid disruptions starting in April 2022.
The Business Profile Performance API is now launched! Migration work is required.

Method: accounts.getNotificationSetting

Returns the pubsub notification settings for the account.

HTTP request

GET https://mybusinessnotifications.googleapis.com/v1/{name=accounts/*/notificationSetting}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the notification setting we are trying to fetch.

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/business.manage

For more information, see the OAuth 2.0 Overview.