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

# Get User Profile

> Retrieve authenticated user's profile data including personal details, account status, and subscription information

This endpoint returns the authenticated user's complete profile data in a single API call. Use it to verify authentication, retrieve user details, and check account status.

This is typically the first endpoint you'll call after authentication to confirm your credentials are working correctly.

## Headers

<ParamField header="Authorization" type="string" required>
  Your API authentication token. Value: `Token YOUR_API_KEY`
</ParamField>

<ParamField header="Content-Type" type="string" default="application/json">
  Content type of the request. Value: `application/json`
</ParamField>

## Response Field Explanations

<ResponseField name="first_name" type="string">
  User's first name. Example: `"John"`
</ResponseField>

<ResponseField name="last_name" type="string">
  User's last name. Example: `"Doe"`
</ResponseField>

<ResponseField name="email" type="string">
  User's email address. Example: `"user@example.com"`
</ResponseField>

<ResponseField name="email_verified" type="boolean">
  Whether the user's email address has been verified. Example: `true`
</ResponseField>

<ResponseField name="plan" type="array">
  List of active subscription plan objects for the user.
</ResponseField>

<ResponseField name="login_count" type="integer">
  Total number of times the user has logged in. Example: `42`
</ResponseField>

<ResponseField name="profile_image" type="string | null">
  URL of the user's profile image, or `null` if not set.
</ResponseField>

<ResponseField name="is_staff" type="boolean">
  Whether the user has staff/admin access. Example: `false`
</ResponseField>

<ResponseField name="credit_interval" type="string">
  The user's credit reset interval (e.g., monthly billing cycle). Example: `"monthly"`
</ResponseField>

<Tip>
  Use this endpoint to verify your authentication is working before making other API calls. A successful response means your API key is valid.
</Tip>

<Note>
  The response includes rate limit information in the headers. Check the `X-RateLimit-Remaining` header to monitor your API usage.
</Note>

## Code Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://api.lobstr.io/v1/me" \
    -H "Authorization: Token YOUR_API_KEY" \
    -H "Content-Type: application/json"
  ```

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

  headers = {
      "Authorization": "Token YOUR_API_KEY",
      "Content-Type": "application/json",
  }

  response = requests.get(
      "https://api.lobstr.io/v1/me",
      headers=headers
  )

  print(response.json())
  ```
</CodeGroup>

## Response

```json 200 theme={null}
{
  "first_name": "John",
  "last_name": "Doe",
  "email": "user@example.com",
  "email_verified": true,
  "plan": [],
  "login_count": 42,
  "profile_image": null,
  "is_staff": false,
  "credit_interval": "monthly"
}
```
