---
title: "Returns a user's profile by public UUID."
method: GET
path: "/api/users/{uuid}"
tags: ["account"]
---

# Returns a user's profile by public UUID.

`GET /api/users/{uuid}`

## Request

- Base URL: `https://api.pricklymails.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pricklymails.com/api/users/{uuid}`
- Auth: HTTP bearer

## Path parameters

- `uuid` string, required

## Response `200`

The requested user's profile.

- UserResponse: Public representation of a user.
  - `created_at` string, required: Account creation timestamp (ISO 8601).
  - `email` string, required: Email address.
  - `email_verified` boolean, required: Whether the email has been verified.
  - `locale` string, required: Language of the account's emails (`"en"` or `"fr"`).
  - `role` string, required: User role (`"user"` or `"admin"`).
  - `uuid` string, required: Public UUID.

## Other responses

- `400`: Malformed UUID.
- `401`: Missing or invalid JWT.
- `403`: Caller is not permitted to read this user.
- `404`: No user with this UUID.

---

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