# Who the API key acts as in its workspace

> Who the API key acts as in its workspace: CustomDomain™ API reference in the members group. Covers parameters, request body, responses and error codes.

Source: https://docs.customdomain.ai/docs/api-reference/members/getMe

## `GET https://api.customdomain.ai/v1/me`

The workspace the key belongs to, the role it acts with, and the kind of key: a member's key (with that member), the workspace default key, or another workspace key. Any role may call it.

### Authentication

`apiKey`

### Responses

| Status | Description |
| --- | --- |
| `200` | The key's identity |
| `401` | Error envelope: {code, title, details, request_id}. |
| `403` | Error envelope: {code, title, details, request_id}. |

### `200` response body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `tenant_id` | string | yes |  |
| `role` | `owner`, `admin`, `member`, `viewer` | yes |  |
| `credential` | `member`, `default`, `workspace` | yes | The kind of key. |
| `member` | object or null | yes | The member a member's key acts as; null for any other key. |

The full specification is served at `GET https://api.customdomain.ai/v1/openapi.json`.
