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

# Log Mood

> Log a mood entry for the current user

<Note>This endpoint requires authentication.</Note>

## Request

<ParamField body="value" type="integer" required>
  Mood value from 1 (very unhappy) to 5 (very happy)
</ParamField>

<ParamField body="note" type="string">
  Optional note about the mood (max 500 characters)
</ParamField>

## Response

<ResponseField name="id" type="string">
  Mood entry UUID
</ResponseField>

<ResponseField name="value" type="integer">
  Mood value (1-5)
</ResponseField>

<ResponseField name="note" type="string">
  Note if provided
</ResponseField>

<ResponseField name="createdAt" type="string">
  Entry timestamp
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.hitler.app/api/moods" \
    -H "Authorization: Bearer YOUR_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
      "value": 4,
      "note": "Good team meeting today"
    }'
  ```

  ```typescript TypeScript theme={null}
  const mood = await api.logMood({
    value: 4,
    note: "Good team meeting today",
  });
  ```
</RequestExample>

<ResponseExample>
  ```json 201 theme={null}
  {
    "id": "mood-uuid-123",
    "value": 4,
    "note": "Good team meeting today",
    "userId": "user-uuid",
    "organizationId": "org-uuid",
    "createdAt": "2024-01-15T09:30:00.000Z"
  }
  ```
</ResponseExample>
