Method: accounts.invitations.list

Lists pending invitations for the specified account.

HTTP request

GET https://mybusiness.googleapis.com/v4/{parent=accounts/*}/invitations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The name of the account from which the list of invitations is being retrieved.

Query parameters

Parameters
targetType

enum(TargetType)

Specifies which target types should appear in the response.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for MyBusiness.ListInvitations.

JSON representation
{
  "invitations": [
    {
      object(Invitation)
    }
  ]
}
Fields
invitations[]

object(Invitation)

A collection of location invitations that are pending for the account. The number of invitations listed here cannot exceed 1000.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.

TargetType

The type of target an invitation is for.

Enums
ALL List invitations for all target types. This is the default.
ACCOUNTS_ONLY List invitations only for targets of type Account.
LOCATIONS_ONLY List invitations only for targets of type Location.

Send feedback about...

Google My Business API
Google My Business API
Need help? Visit our support page.