APIHub
Back to Explore

My Business Notifications API

The My Business Notification Settings API enables managing notification settings for business accounts. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.

Analytics
none
HTTPS
CORS: Unknown
Visit official documentation

Latency

Not monitored yet

Uptime

Not monitored yet

Playground

Verified

live

Endpoints

REST · JSON
GET

/v1/{name}

Returns the pubsub notification settings for the account.

  • name (path, required) — Required. The resource name of the notification setting we are trying to fetch.
PATCH

/v1/{name}

Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. Use the notification_types field within notification_setting to manipulate the events an account wants to subscribe to. An account will only have one notification setting resource, and only one pubsub topic can be set. To delete the setting, update with an empty notification_types

  • name (path, required) — Required. The resource name this setting is for. This is of the form `accounts/{account_id}/notificationSetting`.
  • updateMask (query) — Required. The specific fields that should be updated. The only editable field is notification_setting.

2 endpoints auto-detected

curl -X GET \
  "https://mybusinessnotifications.googleapis.com/v1/{name}"

mybusinessnotifications.googleapis.com · HTTPS only