---
type: api
title: "Authentication"
description: "How to authenticate requests to the Logstash API: Basic."
url: https://www.elastic.co/elastic/docs-builder/docs/5066/api/logstash/authentication
resource: https://www.elastic.co/elastic/docs-builder/docs/5066/api/logstash/authentication
products:
  - Logstash
---

# Authentication

Authentication is optional.

## Basic

```http
Authorization: Basic <credentials>
```

