# Get current session context

`GET /api/me`

URL: https://repsona.com/api/get-me

Returns the authenticated user, joined project ids, and project memberships within joined projects.

## Request

```sh
curl -X GET "https://<space>.repsona.com/api/me" \
  -H "Authorization: Bearer $REPSONA_API_KEY"
```

## Responses

- 200: Session context
- 401: Authentication is required

## Example response

```json
{
  "me": {
    "id": 1126,
    "name": "reon",
    "fullName": "Reon Walls",
    "avatarUrl": null,
    "backgroundUrl": null,
    "color": null,
    "role": "owner"
  },
  "locale": "ja",
  "dateFormat": "M/D",
  "firstDay": 1,
  "autoTimeZone": true,
  "timeZoneCode": "Asia/Tokyo",
  "joinedProjectIds": [
    297
  ],
  "memberships": [
    {
      "userId": 1126,
      "projectIds": [
        297
      ]
    },
    {
      "userId": 1128,
      "projectIds": [
        297
      ]
    }
  ],
  "space": {
    "name": "eee",
    "fullName": "Acme Inc.",
    "avatarUrl": null
  },
  "plan": {
    "tier": "standard",
    "activityRetentionMonths": 12,
    "memberLimitExceeded": false,
    "ipRestrictionBlocked": false,
    "trialEligible": true
  }
}
```
