---
title: "Get Suspicious User"
method: GET
path: "/user/{userId}"
---

# Get Suspicious User

`GET /user/{userId}`

## Request

- Base URL: `https://prompt.safetorun.com`
- URL: `https://prompt.safetorun.com/user/{userId}`
- Auth: API key in header `x-api-key`

This endpoint returns a specific suspicious user.

## Path parameters

- `userId` string, required

## Response `200`

Successful operation.

- User
  - `userId` string: The user ID of the suspicious user.

## Other responses

- `404`: User not found.
- `500`: Internal server error.

---

[API](https://skmtc.dev/safetorun/apis/promptdefender-pii-and-prompt-injection-verification-service.md) - [All operations](https://skmtc.dev/safetorun/apis/promptdefender-pii-and-prompt-injection-verification-service/llms.txt) - [OpenAPI document](https://skmtc.dev/safetorun/apis/promptdefender-pii-and-prompt-injection-verification-service/revisions/d7e556f931cd?raw)
