contactGroups

Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.

get/v1/contactGroups:batchGet

Request

  • Base URL: https://people.googleapis.com
  • URL: https://people.googleapis.com/v1/contactGroups:batchGet
  • Auth: one of:
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/contacts) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/contacts)
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/contacts.readonly) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/contacts.readonly)

Query parameters

groupFieldsstring

Optional. A field mask to restrict which fields on the group are returned. Defaults to metadata, groupType, memberCount, and name if not set or set to empty. Valid fields are: * clientData * groupType * memberCount * metadata * name

maxMembersinteger

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

resourceNamesstring[]

Required. The resource names of the contact groups to get. There is a maximum of 200 resource names.

Response

Successful response

Changes

    • breaking

      removed the media type */* for the response with the status

    • info

      the security scope https://www.googleapis.com/auth/contacts was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/contacts was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/contacts.readonly was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/contacts.readonly was removed from the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/contacts was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/contacts was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/contacts.readonly was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/contacts.readonly was removed from the endpoint's security scheme Oauth2c