---
canonical: https://grafana.com/docs/grafana/latest/developer-resources/api-reference/http-api/authentication/
description: 'You can authenticate HTTP API requests using basic authentication or a service account token.'
keywords:
  - grafana
  - http
  - documentation
  - api
  - role-based-access-control
  - acl
  - enterprise
labels:
  products:
    - enterprise
    - oss
title: Authentication options for the HTTP API
menuTitle: Authentication
weight: 110
aliases:
  - ../../../developers/http_api/authentication/ # /docs/grafana/next/developers/http_api/authentication/
  - ../../../../developer-resources/api-reference/http-api/api-legacy/authentication/ #legacy folder
---

{{< docs/shared lookup="developers/deprecated-apis.md" source="grafana" version="<GRAFANA_VERSION>" >}}

**To learn about authentication for Grafana APIs refer to [Authenticate HTTP API requests](https://grafana.com/docs/grafana/<GRAFANA_VERSION>/developer-resources/api-reference/http-api/#authenticate-http-api-requests).**

# Authentication (deprecated)

## Authentication options for the HTTP API for Grafana OSS

{{< docs/shared lookup="developers/authentication.md" source="grafana" version="<GRAFANA_VERSION>" >}}

## Authentication options for the HTTP API in Grafana Cloud

{{< docs/shared source="grafana-cloud" lookup="/developer-resources/authentication.md" version="" >}}
