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!


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.

Read more

InfluxDB v3 enhancements and InfluxDB Clustered is now generally available

New capabilities, including faster query performance and management tooling advance the InfluxDB v3 product line. InfluxDB Clustered is now generally available.

InfluxDB v3 performance and features

The InfluxDB v3 product line has seen significant enhancements in query performance and has made new management tooling available. These enhancements include an operational dashboard to monitor the health of your InfluxDB cluster, single sign-on (SSO) support in InfluxDB Cloud Dedicated, and new management APIs for tokens and databases.

Learn about the new v3 enhancements


InfluxDB Clustered general availability

InfluxDB Clustered is now generally available and gives you the power of InfluxDB v3 in your self-managed stack.

Talk to us about InfluxDB Clustered