docs-v2/content/influxdb/cloud/reference/api/_index.md

1.4 KiB

title description menu weight influxdb/cloud/tags
InfluxDB v2 API The InfluxDB v2 API provides a programmatic interface for interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. influxdb_cloud_ref 3
api

The InfluxDB v2 API provides a programmatic interface for interactions with InfluxDB. Access the InfluxDB API using the /api/v2/ endpoint.

InfluxDB client libraries

InfluxDB client libraries are language-specific packages that integrate with the InfluxDB v2 API.

Authentication

{{% cloud-token-auth %}} Include your API token as an Authorization header in each request.

curl --request POST https://cloud2.influxdata.com/api/v2/write \
  --header "Authorization: Token YOUR_API_TOKEN" \
  --data-urlencode "org=myorg" \
  --data-urlencode "bucket=example-bucket"

InfluxDB Cloud API documentation

InfluxDB Cloud API documentation

InfluxDB v1 compatibility API documentation

The InfluxDB v2 API includes InfluxDB 1.x compatibility endpoints that work with InfluxDB 1.x client libraries and third-party integrations like Grafana and others.

View full v1 compatibility API documentation