---
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: 01
aliases:
  - ../../../developers/http_api/authentication/ # /docs/grafana/next/developers/http_api/authentication/
---

# Authentication

## 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="" >}}
