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

# Login

> Login with email and password



## OpenAPI

````yaml https://api.juridiq.com.br/openapi.json post /auth/login
openapi: 3.1.0
info:
  title: Juridiq Server API (interno)
  description: Documentação técnica **interna** da API Juridiq Server
  version: 1.0.0
servers:
  - url: http://localhost:3001
    description: Development server
  - url: https://api.juridiq.com.br
    description: Production server
security:
  - bearerAuth: []
paths:
  /auth/login:
    post:
      tags:
        - Authentication
      summary: Login
      description: Login with email and password
      operationId: login
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
                password:
                  type: string
                  minLength: 6
              required:
                - email
                - password
              additionalProperties: false
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  user: {}
                  token:
                    type: string
                required:
                  - token
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  translateMessage:
                    type: string
                required:
                  - message
                  - statusCode
                  - translateMessage
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Insira o token JWT no formato: Bearer {token}'

````