auth

Get a users basic information

get/me

Request

  • Base URL
    https://api.scalar.com/core
  • URL
    https://api.scalar.com/core/me
  • Auth
    HTTP bearer

Response

Default Response

uidstring required
createdAtinteger required
updatedAtinteger required
themestring
userIndexstring required
emailstring email required
activeTeamIdstring nullable required
hasGithubboolean required
hasBitbucketboolean required

Example response

{
  "uid": "UakgbKJ5m9gl0JDMbcJqL",
  "createdAt": 1735689600,
  "updatedAt": 1735689600,
  "theme": "default",
  "email": "alex@example.com",
  "teams": [
    {
      "teamName": "Acme",
      "teamImageUri": "https://example.com/logo.svg"
    }
  ],
  "activeTeamId": "GakgbKJ5m9gl0JDMbcJqL",
  "hasGithub": true
}

Changes

    • warning

      removed the optional property from the response with the status

    • info

      the response's property default value unixTimestamp() was removed for the status

    • info

      the response's property default value nanoid() was removed for the status

    • info

      the response's property default value unixTimestamp() was removed for the status