# Your profile

`GET /v1/me`

## Authentication

A session token: `Authorization: Bearer <session token>`, or the session cookie in the browser.

## Responses

### 200

The signed-in user.

`application/json`

```json
{
  "additionalProperties": false,
  "description": "The signed-in user.",
  "properties": {
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "id": {
      "pattern": "^usr_[0-7][0-9a-hjkmnp-tv-z]{25}$",
      "type": "string"
    },
    "image": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "login_methods": {
      "items": {
        "anyOf": [
          {
            "enum": [
              "password"
            ],
            "type": "string"
          },
          {
            "enum": [
              "github"
            ],
            "type": "string"
          }
        ]
      },
      "type": "array"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "email",
    "image",
    "created_at",
    "login_methods"
  ],
  "type": "object"
}
```

### 401

unauthorized: no valid session, or the email is not verified.

Problem type: [unauthorized](https://docs.dlogify.com/errors/unauthorized.md).

### 429

rate-limited: per-user management request limit.

Problem type: [rate-limited](https://docs.dlogify.com/errors/rate-limited.md).

## Example

```bash
curl -X GET "https://api.dlogify.com/v1/me" \
  -H "Authorization: Bearer $DLOGIFY_SESSION"
```

Source: https://docs.dlogify.com/api/account/getMe
