> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shipstar.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Current User

> Retrieve the profile of the authenticated user

## Authentication

This endpoint requires an API token passed as a Bearer token in the `Authorization` header.

```bash theme={null}
Authorization: Bearer YOUR_API_TOKEN
```

API tokens are created in the [Dashboard](https://app.shipstar.ai/dashboard) under **API Keys**.

## Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://app.shipstar.ai/api/v1/me" \
    -H "Authorization: Bearer YOUR_API_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://app.shipstar.ai/api/v1/me', {
    headers: {
      'Authorization': 'Bearer YOUR_API_TOKEN'
    }
  });

  const user = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://app.shipstar.ai/api/v1/me',
      headers={'Authorization': 'Bearer YOUR_API_TOKEN'}
  )

  user = response.json()
  ```
</CodeGroup>

## Response

<ResponseField name="id" type="string" required>
  The user's unique identifier (UUID)
</ResponseField>

<ResponseField name="email" type="string" required>
  The user's email address
</ResponseField>

<ResponseField name="first_name" type="string">
  The user's first name
</ResponseField>

<ResponseField name="last_name" type="string">
  The user's last name
</ResponseField>

<ResponseField name="is_active" type="boolean" required>
  Whether the user account is active
</ResponseField>

<ResponseField name="is_verified" type="boolean" required>
  Whether the user's email has been verified
</ResponseField>

### Example Response

```json 200 theme={null}
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "email": "jane@example.com",
  "first_name": "Jane",
  "last_name": "Doe",
  "is_active": true,
  "is_verified": true
}
```

## Errors

| Status | Description                  |
| ------ | ---------------------------- |
| 401    | Invalid or expired API token |
