Reference data

Live state availability

Which states are accepting new stamp orders right now. active reflects the live operational switch (the same toggle gating the consumer checkout) on top of static serviceability — a state can be temporarily disabled, e.g. during government portal downtime. Rows for inactive states are rejected by validate/create with per-row error code STATE_INACTIVE, so check here (or the active flag on GET /states/{code}) before submitting. Loads no per-state config, so it is cheap to call often; the switch applies to sandbox and live modes alike.

get/states/availability

Request

  • Base URL
    https://esahayak.io/api/v1
  • URL
    https://esahayak.io/api/v1/states/availability
  • Auth
    HTTP bearer

Query parameters

activeboolean

Pass true to return only states currently accepting orders.

Response

Per-state live availability.

countinteger

Number of states returned (after the active filter).

activeCountinteger

Total states currently active (independent of the filter).

Example response

{
  "data": [
    {
      "code": "HR",
      "name": "Haryana",
      "active": true,
      "eStampAvailable": true,
      "traditionalAvailable": false
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.