---
updatedAt: 2026-06-16T14:13:14.000Z
agentTools:
  projectIndex: https://docs.zaptec.com/llms.txt
---

# Charger state

Retrieves the current state properties (observations) for the specified charger  
(requires owner or service permissions).


State IDs may vary by charger model.  
Current-generation ZapCharger Smart supports <b>Observations</b> from  
<a href="/api/constants" target="_blank">api/constants</a>


# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "Zaptec API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.zaptec.com"
    }
  ],
  "paths": {
    "/api/chargers/{id}/state": {
      "get": {
        "tags": [
          "Charger"
        ],
        "summary": "Charger state",
        "description": "Retrieves the current state properties (observations) for the specified charger  \n(requires owner or service permissions).\n\n\nState IDs may vary by charger model.  \nCurrent-generation ZapCharger Smart supports <b>Observations</b> from  \n<a href=\"/api/constants\" target=\"_blank\">api/constants</a>\n",
        "operationId": "api_chargers_{id}_state_get",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Charger ID",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChargerStateModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChargerStateModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChargerStateModel"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "security": [
          {
            "ory_auth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ChargerStateModel": {
        "type": "object",
        "properties": {
          "chargerId": {
            "type": "string",
            "format": "uuid"
          },
          "stateId": {
            "type": "integer",
            "format": "int32"
          },
          "stateName": {
            "type": "string",
            "nullable": true
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "valueAsString": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "ory_auth": {
        "type": "oauth2",
        "flows": {
          "password": {
            "tokenUrl": "https://api.zaptec.com/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Charger"
    }
  ]
}
```