Method: contactGroups.get

Get a specific contact group owned by the authenticated user by specifying a contact group resource name.

HTTP request

GET https://people.googleapis.com/v1/{resourceName=contactGroups/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
resourceName

string

Required. The resource name of the contact group to get.

Query parameters

Parameters
maxMembers

number

Optional. Specifies the maximum number of members to return. Defaults to 0 if not set, which will return zero members.

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/contacts
  • https://www.googleapis.com/auth/contacts.readonly

For more information, see the Authorization guide.

Try it!