---
title: "Get users of investor"
method: GET
path: "/v0/investors/{investorId}/users"
tags: ["Users"]
---

# Get users of investor

`GET /v0/investors/{investorId}/users`

## Request

- Base URL: `https://distributor-api.spiko.io`
- URL: `https://distributor-api.spiko.io/v0/investors/{investorId}/users`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/spiko/apis/spiko-distributor-api/docs/v0/investors/:investorId/users/get.ts> (a function with typed inputs; its response is checked against the schema)

**Retrieve all users associated with an investor.**

- Returns the list of users with their roles (admin, manager, or viewer).

## Path parameters

- `investorId` string, uuid, required: a Universally Unique Identifier

## Response `200`

Success

- object[]
  - `userId` string, uuid, required: a Universally Unique Identifier
  - `email` string, required
  - `firstName` string, required: a valid name, of max size 255, non empty, without number, some special characters are forbidden
  - `lastName` string, required: a valid name, of max size 255, non empty, without number, some special characters are forbidden

## Other responses

- `400`: The request did not match the expected schema
- `401`: Authentication failed. Two bodies are possible: the schema below when the API rejects the credentials, and `{ "error": { "code", "status", "request", "message" } }` when the API gateway rejects them first. Only the former carries a `_tag`.
- `403`: Forbidden
- `404`: NotFound
- `503`: The investor is undergoing a scheduled upgrade, access is temporarily paused to ensure data safety.

---

[API](https://skmtc.dev/spiko/apis/spiko-distributor-api.md) - [All operations](https://skmtc.dev/spiko/apis/spiko-distributor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spiko/apis/spiko-distributor-api/revisions/dd06889f4c79?raw)
