# API reference: users

Public user profiles

## GET /v1/users/{username}

`getUser` · scope `none` · Public user profile

Public profile for a user handle (drives `/{owner}` profile pages). A handle its owner has since changed still answers, with the current `username`. A client can then send the old address on.

Parameters:

- `username` (path, required): User handle.

Responses:

- `200`: The user.
- `404`: Resource not found (or hidden from the caller).

## GET /v1/handles/{handle}

`checkHandle` · scope `key:read` · Check whether a handle is free

Answers whether the caller could take this handle as their own. The answer carries one sentence for a form. When the handle is not free, it also carries a free one close to it. The rules are the ones `updateMe` and `createOrg` apply, so a form and the change it makes agree.

Parameters:

- `handle` (path, required): The handle to check, as typed. It is checked in lower case. An invalid handle still gets an answer. The call does not refuse it.

Responses:

- `200`: The answer.
- `401`: Missing or invalid credentials.
