LogoBetaFlow

Get Me

GET
/getMe

Returns the profile of the currently authenticated user identified by their API key. Returns 404 if the user record cannot be found.

Authorization

bearerAuth
AuthorizationBearer <token>

User-scoped API key. Pass your key as a Bearer token: Authorization: Bearer <your_api_key>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://famous-mongoose-363.convex.site/getMe"
{
  "data": {
    "name": "Jane Doe",
    "username": "janedoe",
    "displayName": "Jane",
    "image": "https://cdn.example.com/avatars/jane.jpg",
    "publicInfo": {
      "bio": "Software engineer and writer.",
      "socialMediaAccounts": [
        {
          "platform": "twitter",
          "url": "https://twitter.com/janedoe"
        }
      ],
      "blogView": {
        "showTitle": true,
        "showDescription": true,
        "showCoverImage": true,
        "showDate": true,
        "showGroup": true,
        "showAuthor": true
      },
      "fileView": {
        "showTitle": true,
        "showDate": true,
        "showGroup": true,
        "showAuthor": true,
        "showPreview": true,
        "showFileType": true,
        "showFileSize": true
      }
    },
    "updatedAt": 1705329000000
  }
}

{
  "error": "Missing Authorization header"
}

{
  "error": "Use a user API key, not the platform key"
}
{
  "error": "User not found"
}
{
  "error": "Rate limit exceeded"
}