Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Tank Utility Authentication API

Exchange account credentials for a short-lived API token.

Tank Utility Authentication API is one of 2 APIs that Tank Utility publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Authentication. The published artifact set on APIs.io includes an OpenAPI specification and authentication docs.

This API exposes 1 operation across 1 path, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://data.tankutility.com/api.

1 operations 1 paths 2 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://data.tankutility.com/api
Authentication
HTTP Basic, API Key
Resource Areas
1

Authentication & Security 2

Tank Utility Authentication API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). An API key is passed in the query as token (tokenAuth).

  • basicAuth — HTTP Basic authentication using the Tank Utility account email (username) and password. Used only by getToken.
  • tokenAuth — Short-lived API token obtained from getToken, passed as the token query parameter. Expires after ~24 hours.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Authentication 1

Exchange account credentials for a short-lived API token.

GET
/getToken
Get an API token
getToken → 200400401

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Error (2 properties), TokenResponse (1 property). Each schema is shown below with its type and property counts.

TokenResponse
object
1 property 1 required
Error
object
Error envelope returned by the API.
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

tank-utility-authentication-api-openapi.yml Raw ↑

Other APIs Tank Utility publishes across the network.

Tank Utility Devices API