# Your user id (/api/identity/get-current-user)

`GET /api/me`

The authenticated user's id, and nothing else — the cheapest way to confirm a token works. Use /api/whoami for the full identity and credential details.

Base URL: `https://runners.starsling.dev`

## Authentication

Requires a bearer token (`Authorization: Bearer`).

## Responses

| Status | Description |
| --- | --- |
| `200` | The authenticated user's id. Use /api/whoami for the full identity. |
| `401` | No credential was sent, or the one sent is expired or revoked. Sign in with `sling login`. |
| `500` | The request was valid; the control plane or a dependency it calls failed. |

### `200` body

- `userId` — string, required. e.g. `u_abc123`

### Example

```json
{
  "userId": "u_abc123"
}
```