contactGroups

List all contact groups owned by the authenticated user. Members of the contact groups are not populated.

get/v1/contactGroups

Request

  • Base URL: https://people.googleapis.com
  • URL: https://people.googleapis.com/v1/contactGroups
  • 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

pageSizeinteger

Optional. The maximum number of resources to return. Valid values are between 1 and 1000, inclusive. Defaults to 30 if not set or set to 0.

pageTokenstring

Optional. The next_page_token value returned from a previous call to ListContactGroups. Requests the next page of resources.

syncTokenstring

Optional. A sync token, returned by a previous call to contactgroups.list. Only resources changed since the sync token was created will be returned.

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