Skip to Content

GetUser

GET
/auth/v1/users/current

Authorization

headerX-API-Key<token>

API key for protected endpoints, supplied in the X-API-Key header.

Query Parameters

user_id?user_id

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/auth.v1.GetUserResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "user_id": {
        "type": "string",
        "title": "user_id"
      },
      "email": {
        "type": "string",
        "title": "email"
      },
      "email_verified": {
        "type": "boolean",
        "title": "email_verified"
      }
    },
    "title": "GetUserResponse",
    "additionalProperties": false
  }
}
default
curl -X GET 'https://api.rixl.com/auth/v1/users/current'

Success

application/json

{
  "$ref": "#/components/schemas/auth.v1.GetUserResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "user_id": {
        "type": "string",
        "title": "user_id"
      },
      "email": {
        "type": "string",
        "title": "email"
      },
      "email_verified": {
        "type": "boolean",
        "title": "email_verified"
      }
    },
    "title": "GetUserResponse",
    "additionalProperties": false
  }
}