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

# Sign in a user



## OpenAPI

````yaml api-reference/openapi.json post /api/auth/signin
openapi: 3.0.0
info:
  title: Bigcapital
  description: Financial accounting software
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /api/auth/signin:
    post:
      tags:
        - Auth
      summary: Sign in a user
      operationId: AuthController_signin
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthSigninDto'
      responses:
        '200':
          description: >-
            Sign-in successful. Returns access token and tenant/organization
            IDs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthSigninResponseDto'
components:
  schemas:
    AuthSigninDto:
      type: object
      properties:
        password:
          type: string
          example: password123
          description: User password
        email:
          type: string
          example: user@example.com
          description: User email address
      required:
        - password
        - email
    AuthSigninResponseDto:
      type: object
      properties:
        accessToken:
          type: string
          description: JWT access token
        organizationId:
          type: string
          description: Organization ID
        tenantId:
          type: number
          description: Tenant ID
        userId:
          type: number
          description: User ID
      required:
        - accessToken
        - organizationId
        - tenantId
        - userId

````