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

# Preview contact by wallet or email

> Look up a HEVN user by wallet address or email and return a preview.



## OpenAPI

````yaml /openapi.json get /api/v1/user/contact/preview
openapi: 3.1.0
info:
  title: HEVN API
  description: Backend API for HEVN mobile neobank
  version: 0.1.2
servers:
  - url: https://api.hevn.finance
    description: Production
security: []
paths:
  /api/v1/user/contact/preview:
    get:
      tags:
        - User
      summary: Preview contact by wallet or email
      description: Look up a HEVN user by wallet address or email and return a preview.
      operationId: preview_contact_api_v1_user_contact_preview_get
      parameters:
        - name: wallet
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: EVM wallet address
            title: Wallet
          description: EVM wallet address
        - name: email
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Email address
            title: Email
          description: Email address
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactPreviewResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ContactPreviewResponse:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        icon:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon
        activated:
          type: boolean
          title: Activated
          default: false
        createdAt:
          type: string
          format: date-time
          title: Createdat
      type: object
      required:
        - createdAt
      title: ContactPreviewResponse
      description: Lightweight user preview for contact lookup.
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
      x-default: Bearer <token>

````