---
title: "Test Elasticsearch Connection"
method: POST
path: "/integrations/elasticsearch/test"
tags: ["integrations"]
---

# Test Elasticsearch Connection

`POST /integrations/elasticsearch/test`

## Request

- Base URL: `https://api.openreplay.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openreplay.com/integrations/elasticsearch/test`
- Auth: HTTP bearer

## Request body

- IntegrationElasticsearchTestSchema
  - `host` string, required
  - `port` integer, required
  - `apiKeyId` string, nullable
  - `apiKey` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openreplay/apis/openreplay-api.md) - [All operations](https://skmtc.dev/openreplay/apis/openreplay-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openreplay/apis/openreplay-api/revisions/e5aaadb82e0a?raw)
