---
title: "List Identities"
method: GET
path: "/api/users/{user_id}/identities/"
tags: ["users"]
---

# List Identities

`GET /api/users/{user_id}/identities/`

## 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/users/{user_id}/identities/`
- Auth: one of:
  - API key in cookie `sessionid`
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/blindinsight/apis/blind-insight-rest-api/docs/api/users/:user_id/identities/get.ts> (a function with typed inputs; its response is checked against the schema)

List identities, filtered by the given parameters. Takes optional pagination
parameters.

The response will be a list of identity objects.

**On the command line:**

```bash
blind users identities list --user-id "<user_id>"
```

## Path parameters

- `user_id` string, required

## Query parameters

- `device_id` string
- `id` string
- `limit` integer
- `offset` integer
- `primary_public_key` string
- `sub_public_key` string
- `user` string

## Response `200`

- Identity[]
  - `id` string, required
  - `url` string, uri, required
  - `user` string, uri, required
  - `device_id` string, required: The device ID associated with this identity.
  - `primary_public_key` string, required: The primary PGP key for the identity.
  - `sub_public_key` string, required: The PGP sub-key for the identity.

---

[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)
