Reference: Integration with Postman API Client

Use the Postman API client to submit Tanium Gateway example requests and receive responses.

You can configure the Postman API client to communicate with Tanium Cloud, import example requests, and submit requests and receive responses. Postman can also load the Tanium Gateway schema.

Prerequisites

Complete these prerequisites before you configure Postman to communicate with Tanium.

Configure Postman to communicate with Tanium

Import the Tanium Gateway example requests file into Postman, set the collection variables, and verify the integration.

  1. Import the Tanium Gateway example requests file into Postman.
  2. In the Collections pane, select the imported collection. Confirm that the import succeeded and the example requests are loaded.
  3. With the collection selected, click the Variables tab.
  4. In the Value column for the url variable, enter https://<customerName>-api.cloud.tanium.com, replacing <customerName> with your Tanium Cloud instance domain name.
  5. Confirm that the path variable is /plugin/products/gateway/graphql.
  6. In the Value column for the api_token variable, enter the API token string associated with your integration user. Include the token- prefix.
    Note: Enter the API token only in the Value column. Postman keeps current values on your computer. Postman can sync values in the Initial value column with Postman servers.
  7. In the collection, expand General examples and then click Time.
  8. Click the Authorization tab and verify that Auth Type is API Key. Requests in the imported collection inherit this setting from the collection.
  9. Click Send. The Gateway service responds with the current system time, such as the following:
    JSON
    {
      "data": {
        "now": "2026-11-08T19:22:03Z"
      }
    }

Configure a GraphQL request manually and load the schema

Create a single GraphQL request in Postman without the example requests file, load the Tanium Gateway schema, and verify the configuration.

  1. In the Postman client, click New and then click GraphQL.
  2. In the URL field, enter https://<customerName>-api.cloud.tanium.com/plugin/products/gateway/graphql, replacing <customerName> with your Tanium Cloud instance domain name.
  3. Click the Authorization tab, then select API Key from the Auth Type list.
  4. For Key, enter session. For Value, enter the API token string associated with your integration user. Be sure to include the token- prefix. Ensure that Postman adds the API key to the request header.
  5. Click the Schema tab, then click Using GraphQL introspection. Postman loads the Tanium Gateway schema.
    Note: You can also import the schema from a file. For more information, see Postman Learning Center: GraphQL client interface.
  6. Click the Query tab.
  7. In the query editor, enter the following query:
    CODE
    query { now }
  8. Click Query. The Gateway service responds with the current system time, such as the following:
    JSON
    {
      "data": {
        "now": "2026-11-08T19:22:03Z"
      }
    }
  9. In the schema explorer, expand Query and Mutation to review the queries and mutations that Tanium Gateway supports.