Documentation

Use Postman with the InfluxDB API

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!


Introducing InfluxDB Clustered

A highly available InfluxDB 3.0 cluster on your own infrastructure.

InfluxDB Clustered is a highly available InfluxDB 3.0 cluster built for high write and query workloads on your own infrastructure.

InfluxDB Clustered is currently in limited availability and is only available to a limited group of InfluxData customers. If interested in being part of the limited access group, please contact the InfluxData Sales team.

Learn more
Contact InfluxData Sales

The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Flux is going into maintenance mode and will not be supported in InfluxDB 3.0. This was a decision based on the broad demand for SQL and the continued growth and adoption of InfluxQL. We are continuing to support Flux for users in 1.x and 2.x so you can continue using it with no changes to your code. If you are interested in transitioning to InfluxDB 3.0 and want to future-proof your code, we suggest using InfluxQL.

For information about the future of Flux, see the following:

InfluxDB Cloud powered by TSM