WattTime · Schema

LoginResponse

LoginResponse schema from WattTime API

EmissionsClimateCarbonEnergyElectricity GridSustainabilityClean Energy

Properties

Name Type Description
token string JWT bearer token for subsequent API requests. Expires after 30 minutes.
View JSON Schema on GitHub

JSON Schema

watttime-login-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/watttime/refs/heads/main/json-schema/watttime-login-response-schema.json",
  "title": "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"
    }
  }
}