# Get member by code

`GET https://api.nexus.gg/v1/manage/members/{memberCode}`

Resolves a group member from one of their codes and returns the member together with the creator group's own defaults (`groupDefaultRevShare`, `codeTTLInDays`). The match on `memberCode` is case-insensitive - the query compares the incoming code against `LOWER(:code)`. A code only resolves if it has an approved `NexusNode`, generated either for this specific creator group or for no group at all; a code a different group generated for itself is invisible here.

The `groupId` query parameter is not a simple default. If the calling API key already has its own attribution group, that group is always used and any `groupId` you pass is silently ignored, with no error. The query parameter only takes effect for an API key with no attribution group of its own, and if it is also omitted in that case, the publisher's default group is used. An unresolvable groupId returns `400` with `code: InvalidGroup` before the code lookup even runs.

When the code doesn't match an approved member of the resolved group, the handler returns `400` with `code: CodeNotInGroup`.

This method authenticates with a **public** (`nexus_pk_...`) key.

## Authorizations

- `X-SHARED-SECRET` (string, header, required) - Send your **public** API key (`nexus_pk_...`) in the `X-SHARED-SECRET` header. [Generate one](/authentication/api-keys/) in the Publisher Dashboard.

## Path parameters

- `memberCode` (string, required) - The creator's code, matched case-insensitively.

## Query parameters

- `groupId` (string) - Creator group to use for this operation. If your key is scoped to a single program, that group is always used regardless of this value; otherwise falls back to your default group when omitted.

## Responses

### 200

member object for given code

#### Body (`application/json`)

### 404

not found
