---
title: "GET /v1/groups/{groupsId}/memberships:lookup"
method: GET
path: "/v1/groups/{groupsId}/memberships:lookup"
tags: ["groups"]
---

# GET /v1/groups/{groupsId}/memberships:lookup

`GET /v1/groups/{groupsId}/memberships:lookup`

## Request

- Base URL: `https://cloudidentity.googleapis.com`
- URL: `https://cloudidentity.googleapis.com/v1/groups/{groupsId}/memberships:lookup`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-identity.groups`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-identity.groups`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-identity.groups.readonly`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-identity.groups.readonly`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Looks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Membership` by its `EntityKey`.

## Path parameters

- `groupsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `memberKey.id` string
- `memberKey.namespace` string

## Response `200`

Successful response

- LookupMembershipNameResponse: The response message for MembershipsService.LookupMembershipName.
  - `name` string: The [resource name](https://cloud.google.com/apis/design/resource_names) of the looked-up `Membership`. Must be of the form `groups/{group}/memberships/{membership}`.

## Changes

- **2026-11-18** `7be184a4f032`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-identity.groups` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-identity.groups` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/cloudidentity/changes/v1/groups/:groupsId/memberships:lookup/get.md)

---

[API](https://skmtc.dev/google/apis/cloudidentity.md) - [All operations](https://skmtc.dev/google/apis/cloudidentity/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/cloudidentity/revisions/7be184a4f032?raw)
