---
title: InfluxDB HTTP API
description: Use the InfluxDB HTTP API to write data, query data, and manage databases, tables, and tokens.
url: https://docs.influxdata.com/influxdb/cloud/api/
estimated_tokens: 2233
product: InfluxDB Cloud (TSM)
version: cloud
---

[Download InfluxDB Cloud (TSM) API Spec](/openapi/influxdb-cloud-v2-api.yml)

Use the InfluxDB Cloud (TSM) HTTP API to write data, query data, and manage databases, tables, and tokens.

### [Quick start](/influxdb/cloud/api/quick-start/)

Authenticate, write, and query with the InfluxDB Cloud API:

### [Authentication](/influxdb/cloud/api/authentication/)

Use one of the following schemes to authenticate to the InfluxDB Cloud API:

### [Common parameters](/influxdb/cloud/api/common-parameters/)

Most InfluxDB Cloud API endpoints require parameters in the request–for example, to specify the bucket or organization.

### [Headers](/influxdb/cloud/api/headers/)

InfluxDB Cloud API endpoints use standard HTTP request and response headers. The following table shows common headers used by many InfluxDB Cloud API endpoints. Some endpoints may use other headers…

### [Pagination](/influxdb/cloud/api/pagination/)

List endpoints in the InfluxDB Cloud API support pagination via query parameters. Use these parameters to page through large result sets.

### [Response codes](/influxdb/cloud/api/response-codes/)

InfluxDB Cloud API endpoints return standard HTTP status codes. The following table summarizes the most common response codes.

### [Supported operations](/influxdb/cloud/api/supported-operations/)

The InfluxDB Cloud API supports create, read, update, and delete operations on resources. Most endpoints follow standard HTTP method conventions:

### [Authorizations (API tokens)](/influxdb/cloud/api/authorizations-api-tokens/)

Create and manage API token authorizations that grant read and write permissions to InfluxDB Cloud organization resources.

### [Bucket Schemas](/influxdb/cloud/api/bucket-schemas/)

Manage explicit schemas for InfluxDB Cloud buckets to enforce column names and data types for measurement data.

### [Buckets](/influxdb/cloud/api/buckets/)

Create and manage named storage locations (buckets) in InfluxDB Cloud, each with a configurable retention period.

### [Cells](/influxdb/cloud/api/cells/)

Manage cells within InfluxDB Cloud dashboards.

### [Checks](/influxdb/cloud/api/checks/)

Create and manage monitoring checks that query data on a schedule and generate notification statuses in InfluxDB Cloud.

### [Config](/influxdb/cloud/api/config/)

Retrieve configuration information for an InfluxDB Cloud instance.

### [Dashboards](/influxdb/cloud/api/dashboards/)

Create and manage dashboards in InfluxDB Cloud.

### [DBRPs](/influxdb/cloud/api/dbrps/)

Manage database and retention policy (DBRP) mappings that route InfluxDB v1-compatible requests to InfluxDB Cloud buckets.

### [Delete](/influxdb/cloud/api/delete/)

Delete time series data from an InfluxDB Cloud bucket by specifying a time range and optional tag predicate.

### [Invokable Scripts](/influxdb/cloud/api/invokable-scripts/)

Store, manage, and execute custom Flux scripts in InfluxDB Cloud. Scripts accept runtime parameters and can be invoked via dedicated endpoints.

### [Labels](/influxdb/cloud/api/labels/)

Create and manage labels for organizing InfluxDB Cloud resources such as dashboards, tasks, and buckets.

### [Legacy Authorizations](/influxdb/cloud/api/legacy-authorizations/)

Manage legacy (v1-compatible) authorization credentials in InfluxDB Cloud.

### [Legacy Query](/influxdb/cloud/api/legacy-query/)

Query data using InfluxQL via the v1-compatible `/query` endpoint in InfluxDB Cloud.

### [Legacy Write](/influxdb/cloud/api/legacy-write/)

Write data using the v1-compatible `/write` endpoint in InfluxDB Cloud.

### [Limits](/influxdb/cloud/api/limits/)

Retrieve rate limits and usage quotas for an InfluxDB Cloud organization.

### [NotificationEndpoints](/influxdb/cloud/api/notificationendpoints/)

Create and manage notification endpoints that receive alert notifications from InfluxDB Cloud monitoring checks.

### [NotificationRules](/influxdb/cloud/api/notificationrules/)

Create and manage notification rules that define when and how InfluxDB Cloud sends notifications to configured endpoints.

### [Organizations](/influxdb/cloud/api/organizations/)

View and manage InfluxDB Cloud organizations, which are workspaces that group users, buckets, and resources.

### [Ping](/influxdb/cloud/api/ping/)

Check the availability of the InfluxDB Cloud instance.

### [Query data](/influxdb/cloud/api/query-data/)

Retrieve data, analyze queries, and get query suggestions using the InfluxDB Cloud query API.

### [Resources](/influxdb/cloud/api/resources/)

Retrieve a list of top-level resource types available in the InfluxDB Cloud API.

### [Routes](/influxdb/cloud/api/routes/)

Retrieve top-level routes for the InfluxDB Cloud API.

### [Rules](/influxdb/cloud/api/rules/)

Manage notification rules in InfluxDB Cloud.

### [Secrets](/influxdb/cloud/api/secrets/)

Create and manage secrets (key-value pairs) for use in InfluxDB Cloud Flux scripts and tasks.

### [Security and access endpoints](/influxdb/cloud/api/security-and-access-endpoints/)

Endpoints for managing authentication and access control in InfluxDB Cloud.

### [Setup](/influxdb/cloud/api/setup/)

Configure an initial InfluxDB Cloud instance, including creating the initial user, organization, and bucket.

### [Signin](/influxdb/cloud/api/signin/)

Create a user session by signing in with username and password credentials.

### [Signout](/influxdb/cloud/api/signout/)

End a user session by signing out.

### [System information endpoints](/influxdb/cloud/api/system-information-endpoints/)

Endpoints for retrieving system-level information about the InfluxDB Cloud instance.

### [Tasks](/influxdb/cloud/api/tasks/)

Schedule and manage Flux tasks that process and transform data on a recurring basis in InfluxDB Cloud.

### [Telegraf Plugins](/influxdb/cloud/api/telegraf-plugins/)

Retrieve available Telegraf plugin configuration templates for use with InfluxDB Cloud.

### [Telegrafs](/influxdb/cloud/api/telegrafs/)

Create and manage Telegraf agent configurations that collect and write data to InfluxDB Cloud.

### [Templates](/influxdb/cloud/api/templates/)

Export and apply InfluxDB templates, and manage template stacks for InfluxDB Cloud.

### [Usage](/influxdb/cloud/api/usage/)

Retrieve usage metrics and cardinality data for an InfluxDB Cloud organization.

### [Users](/influxdb/cloud/api/users/)

View specific users that are members of your InfluxDB Cloud organization.

### [Variables](/influxdb/cloud/api/variables/)

Create and manage variables for use in InfluxDB Cloud dashboards.

### [Views](/influxdb/cloud/api/views/)

Manage cell views within InfluxDB Cloud dashboards.

### [Write data](/influxdb/cloud/api/write-data/)

Write time series data to InfluxDB Cloud buckets in line protocol format using the `/api/v2/write` endpoint.
