---
agentTools:
  projectIndex: https://searchie.readme.io/llms.txt
---

# Authenticate user and generate bearer token

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Searchie API Documentation",
    "description": "Searchie API Documentation",
    "license": {
      "name": "Apache 2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://app.searchie.io/api/v2",
      "description": "API Server"
    }
  ],
  "paths": {
    "/authenticate-user": {
      "post": {
        "tags": [
          "Authenticate"
        ],
        "summary": "Authenticate user and generate bearer token",
        "operationId": "getAuthenticateToken",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "email",
                  "password"
                ],
                "properties": {
                  "email": {
                    "description": "User's email",
                    "type": "string"
                  },
                  "password": {
                    "description": "User's password",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successfully token generated"
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Authenticate"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 101,
      "1": 130,
      "2": 251,
      "3": 234,
      "4": 150,
      "5": 84,
      "6": 125,
      "7": 0,
      "8": 113,
      "9": 220,
      "10": 23,
      "11": 106
    }
  }
}
```