> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apowerb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get User By Email



## OpenAPI

````yaml /api-reference/openapi.json get /api/users/email/{user_email}
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/users/email/{user_email}:
    get:
      tags:
        - users
      summary: Get User By Email
      operationId: get_user_by_email_api_users_email__user_email__get
      parameters:
        - name: user_email
          in: path
          required: true
          schema:
            type: string
            description: The email of the user
            title: User Email
          description: The email of the user
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    User:
      properties:
        first_name:
          type: string
          title: First Name
        last_name:
          type: string
          title: Last Name
        email:
          type: string
          format: email
          title: Email
        user_id:
          type: integer
          title: User Id
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
        role:
          type: string
          title: Role
        username:
          anyOf:
            - type: string
            - type: 'null'
          title: Username
        full_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Full Name
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Avatar Url
        plan:
          anyOf:
            - type: string
            - type: 'null'
          title: Plan
        stripe_customer_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Stripe Customer Id
        mfa_enabled:
          type: boolean
          title: Mfa Enabled
          default: false
        onboarding_completed:
          type: boolean
          title: Onboarding Completed
          default: false
      type: object
      required:
        - first_name
        - last_name
        - email
        - user_id
        - role
      title: User
      description: |-
        Schema for reading a User (e.g GET requests).
        inculdes DB-generated fields like IDs, timestamps, etc.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [Delete User By Email](/api-reference/users/delete-user-by-email.md)
- [Get User By Id](/api-reference/users/get-user-by-id.md)
- [Get All Users](/api-reference/users/get-all-users.md)
- [Get Current User Route](/api-reference/users/get-current-user-route.md)
- [Get Webhook Log Body](/api-reference/webhooks/get-webhook-log-body.md)
