WattTime · JSON Structure

Watttime Login Response Structure

LoginResponse schema from WattTime API

Type: object Properties: 1
EmissionsClimateCarbonEnergyElectricity GridSustainabilityClean Energy

LoginResponse is a JSON Structure definition published by WattTime, describing 1 property. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

token

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/watttime/refs/heads/main/json-structure/watttime-login-response-structure.json",
  "name": "LoginResponse",
  "description": "LoginResponse schema from WattTime API",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "JWT bearer token for subsequent API requests. Expires after 30 minutes.",
      "example": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.example"
    }
  }
}