Lalexi
APIReferenceAccount

Who am I

The owner of the token and every workspace it opens, with your role in each. Needs no X-Workspace-Id: this is where an integration learns which values it may send.

GET
/me

Authorization

personalToken
AuthorizationBearer <token>

Your personal access token from Profile → Access Token in Lalexi. It acts with exactly your role: what you may see and do in the workspace, and nothing more. Everything done with it is recorded as done by you.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.lalexi.com/v1/me"
{
  "user": {
    "id": 0,
    "name": "string",
    "email": "user@example.com"
  },
  "workspaces": [
    {
      "id": 0,
      "name": "string",
      "locale": "string",
      "role": "administrator",
      "custom_role": "string"
    }
  ]
}
{
  "error": {
    "code": "invalid_api_key",
    "message": "The API key is missing or invalid."
  }
}
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests. Retry after the number of seconds in Retry-After."
  }
}
{
  "error": {
    "code": "internal_error",
    "message": "Something went wrong on our side."
  }
}