Documentation

Use Postman with the InfluxDB API

This page documents an earlier version of InfluxDB. InfluxDB v2.6 is the latest stable version. View this page in the v2.6 documentation.

Use Postman, a popular tool for exploring APIs, to interact with the InfluxDB API.

Install Postman

Download Postman from the official downloads page.

Or to install with Homebrew on macOS, run the following command:

brew install --cask postman

Send authenticated API requests with Postman

All requests to the InfluxDB v2 API must include an InfluxDB API token.

Authenticate with a username and password

If you need to send a username and password (Authorization: Basic) to the InfluxDB 1.x compatibility API, see how to authenticate with a username and password scheme.

To configure Postman to send an InfluxDB API token with the Authorization: Token HTTP header, do the following:

  1. If you have not already, create a token.
  2. In the Postman Authorization tab, select API Key in the Type dropdown.
  3. For Key, enter Authorization.
  4. For Value, enter Token INFLUX_API_TOKEN, replacing INFLUX_API_TOKEN with the token generated in step 1.
  5. Ensure that the Add to option is set to Header.

Test authentication credentials

To test the authentication, in Postman, enter your InfluxDB API /api/v2/ root endpoint URL and click Send.

InfluxDB v2 API root endpoint
http://localhost:8086/api/v2

Was this page helpful?

Thank you for your feedback!


Set your InfluxDB URL

Linux Package Signing Key Rotation

All signed InfluxData Linux packages have been resigned with an updated key. If using Linux, you may need to update your package configuration to continue to download and verify InfluxData software packages.

For more information, see the Linux Package Signing Key Rotation blog post.

InfluxDB Cloud backed by InfluxDB IOx

All InfluxDB Cloud organizations created on or after January 31, 2023 are backed by the new InfluxDB IOx storage engine. Check the right column of your InfluxDB Cloud organization homepage to see which InfluxDB storage engine you’re using.

If powered by IOx, this is the correct documentation.

If powered by TSM, see the TSM-based InfluxDB Cloud documentation.

InfluxDB Cloud backed by InfluxDB TSM

All InfluxDB Cloud organizations created on or after January 31, 2023 are backed by the new InfluxDB IOx storage engine which enables nearly unlimited series cardinality and SQL query support. Check the right column of your InfluxDB Cloud organization homepage to see which InfluxDB storage engine you’re using.

If powered by TSM, this is the correct documentation.

If powered by IOx, see the IOx-based InfluxDB Cloud documentation.

State of the InfluxDB Cloud (IOx) documentation

The new documentation for InfluxDB Cloud backed by InfluxDB IOx is a work in progress. We are adding new information and content almost daily. Thank you for your patience!

If there is specific information you’re looking for, please submit a documentation issue.