---
title: "Get your profile"
description: "PubNio API profile.get: get your profile. Request fields, examples in five clients, errors, and idempotency."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get your profile

Get your profile with [`GET /api/v1/me`](https://pubnio.com/api/v1/docs#tag/profile/GET/api/v1/me). Requires a signed-in user, in the web app or the CLI; API keys are not accepted and MCP cannot call it.

## Request

## Response

- HTTP 200: an object with `id`, `email`, `displayName`.

The [OpenAPI document](https://pubnio.com/api/v1/openapi) has each field's type.

## Examples

### TypeScript

```ts
const me = await client.me.get();
```

Create this client with a signed-in person's `accessToken`, not an `apiKey`.

### Python

The Python SDK authenticates with a workspace API key, which this operation does not accept, so it has no method for it.

### cURL

```sh
curl "https://pubnio.com/api/v1/me" \
  -H "Authorization: Bearer $PUBNIO_TOKEN"
```

### CLI

```sh
pnio profile get
```

### MCP execute

```js
async () => {
  const response = await codemode.request({
    method: "GET",
    path: "/api/v1/me",
  });
  return response.data;
};
```

## Errors

It declares no problem of its own.

It declares the problems [most operations](https://pubnio.com/docs/reference/#shared-problems) declare.

## Idempotency

None needed: a read is safe to retry.

## Limits

- API keys and MCP cannot call it. A signed-in person runs it from the CLI after `pnio auth login` or in the web app.

## Related

- [Your profile operations](https://pubnio.com/docs/reference/#your-profile)

Source: https://pubnio.com/docs/reference/profile-get/index.mdx
