---
updatedAt: 2026-05-27T21:32:20.000Z
agentTools:
  projectIndex: https://cubiapi.readme.io/llms.txt
---

# /Users/{id} - GET

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Partners",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://cubi-sandbox-api.customersbank.com/partners/v1"
    }
  ],
  "paths": {
    "/Users/{id}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "/Users/{id} - GET",
        "operationId": "get-users-id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "includeLastLoggedInAt",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Cubi.Partners.WebApi.Dtos.UserDto"
                },
                "examples": {
                  "default": {
                    "value": null
                  }
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cubi.Partners.WebApi.Dtos.UserDto"
                },
                "example": {
                  "id": "string",
                  "partnerId": "string",
                  "name": "string",
                  "firstName": "string",
                  "lastName": "string",
                  "isAdmin": true,
                  "isPrimaryAdmin": true,
                  "isAddressBookAdmin": true,
                  "accountEnabled": true,
                  "email": "string",
                  "lastLoggedInAt": "string",
                  "roles": [
                    "string"
                  ],
                  "showApi": true,
                  "isFrozen": true
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cubi.Partners.WebApi.Dtos.UserDto"
                },
                "example": {
                  "id": "string",
                  "partnerId": "string",
                  "name": "string",
                  "firstName": "string",
                  "lastName": "string",
                  "isAdmin": true,
                  "isPrimaryAdmin": true,
                  "isAddressBookAdmin": true,
                  "accountEnabled": true,
                  "email": "string",
                  "lastLoggedInAt": "string",
                  "roles": [
                    "string"
                  ],
                  "showApi": true,
                  "isFrozen": true
                }
              }
            }
          },
          "400": {
            "description": "BadRequest",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
                  "title": "One or more validation errors occurred.",
                  "status": 400,
                  "traceId": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.2",
                  "title": "Unauthorized",
                  "status": 401,
                  "traceId": "string"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.4",
                  "title": "Forbidden",
                  "status": 403,
                  "traceId": "string"
                }
              }
            }
          },
          "404": {
            "description": "NotFound",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.5",
                  "title": "Not Found",
                  "status": 404,
                  "traceId": "string"
                }
              }
            }
          },
          "422": {
            "description": "UnprocessableEntity",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc4918#section-11.2",
                  "title": "Unprocessable Entity",
                  "status": 422,
                  "traceId": "string"
                }
              }
            }
          },
          "500": {
            "description": "InternalServerError",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                },
                "example": {
                  "type": "https://tools.ietf.org/html/rfc9110#section-15.6.1",
                  "title": "An error occurred while processing your request.",
                  "status": 500,
                  "traceId": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Cubi.Partners.WebApi.Dtos.UserDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string",
            "description": "The user's name",
            "nullable": true,
            "deprecated": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "isAdmin": {
            "type": "boolean",
            "nullable": true
          },
          "isPrimaryAdmin": {
            "type": "boolean",
            "nullable": true
          },
          "isAddressBookAdmin": {
            "type": "boolean",
            "nullable": true
          },
          "accountEnabled": {
            "type": "boolean",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "lastLoggedInAt": {
            "type": "string",
            "format": "date-time"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "showApi": {
            "type": "boolean",
            "nullable": true,
            "deprecated": true
          },
          "isFrozen": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Microsoft.AspNetCore.Mvc.ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "traceId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "Microsoft.AspNetCore.Mvc.ValidationProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "traceId": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "additionalProperties": {}
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  }
}
```