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

# Admin Login



## OpenAPI

````yaml https://api.yieldo.xyz/openapi.json post /v1/admin/login
openapi: 3.1.0
info:
  title: Yieldo API
  description: Cross-chain deposit aggregator for ERC-4626 and custom yield vaults
  version: 1.0.0
servers:
  - url: https://api.yieldo.xyz
    description: Production
security: []
paths:
  /v1/admin/login:
    post:
      tags:
        - admin
      summary: Admin Login
      operationId: admin_login_v1_admin_login_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminLoginRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminLoginResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AdminLoginRequest:
      properties:
        address:
          type: string
          title: Address
        nonce:
          type: string
          title: Nonce
        signature:
          type: string
          title: Signature
        password:
          type: string
          title: Password
      type: object
      required:
        - address
        - nonce
        - signature
        - password
      title: AdminLoginRequest
    AdminLoginResponse:
      properties:
        token:
          type: string
          title: Token
        address:
          type: string
          title: Address
        expires_in_hours:
          type: integer
          title: Expires In Hours
      type: object
      required:
        - token
        - address
        - expires_in_hours
      title: AdminLoginResponse
    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

````