---
title: "List users by persona for impersonation dropdown"
method: GET
path: "/api/auth/users-by-persona/{persona}"
tags: ["Auth"]
---

# List users by persona for impersonation dropdown

`GET /api/auth/users-by-persona/{persona}`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/api/auth/users-by-persona/{persona}`
- Auth: HTTP bearer

Returns active users with the specified persona. Admin-only endpoint.

## Path parameters

- `persona` 'internal_user' | 'coach' | 'participant' | 'partner', required

## Response `200`

List of users with the specified persona

## Other responses

- `400`: Invalid persona or cannot list admin users
- `403`: Not authorized

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
