---
title: "Get user profile"
method: GET
path: "/api/accounts/profile/"
tags: ["accounts"]
---

# Get user profile

`GET /api/accounts/profile/`

## Request

- Base URL: `https://docs.blindinsight.io` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.blindinsight.io/api/accounts/profile/`
- Auth: one of:
  - API key in cookie `sessionid`
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/docs/api/accounts/profile/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the profile of the currently authenticated user.

The response will be the profile object.

**On the command line:**

```bash
blind accounts profile retrieve
```

## Response `200`

- DefaultUserProfile: Default serializer used for user profile. It will use these: * User fields * :ref:`user-hidden-fields-setting` setting * :ref:`user-public-fields-setting` setting * :ref:`user-editable-fields-setting` setting to automagically generate the required serializer fields.
  - `email` string, email, required
  - `id` string, required
  - `first_name` string: First name (optional)
  - `last_name` string: Last name (optional)

---

[API](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api.md) - [All operations](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/revisions/0ac902401cea?raw)
