# List jurisdiction pack versions

> List jurisdiction pack versions with GET /v1/jurisdictions/{code}/versions: parameters, a tested cURL and Node SDK example, the response and every error.

Source: https://esigncomply.com/docs/api/jurisdictions/list-jurisdiction-pack-versions

Last updated November 26, 2026

In the Esign Comply API, `GET /v1/jurisdictions/{code}/versions` lists the version history of one jurisdiction pack, newest first, with the changelog of each version. Use it to see how a pack has changed, or to find the version a sealed record pinned.

`GET /v1/jurisdictions/{code}/versions` · API version `2026-11-21`

## Authentication

Public. A secret key is accepted and not required. When you send a key, send it in the `Authorization` header: `Bearer $ESIGNCOMPLY_API_KEY`.

## Request example

### cURL

```bash
curl https://esigncomply.com/v1/jurisdictions/US-CA/versions
```

### Node SDK

```ts
import { EsignComply } from "esigncomply";

const esc = new EsignComply(process.env.ESIGNCOMPLY_API_KEY);

const { data, error } = await esc.jurisdictions.versions("US-CA");
```

This request ran against the API on November 26, 2026, and the response below is what came back. IDs are example values, and long values are shortened with `...`.

## What it does

Returns the version history of one pack, newest first. Sealed records keep the pack versions they pinned: a later version never changes a record.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `code` | path | string | Yes | Pack code, for example US-CA. |

Headers: `Esign-Comply-Version` (optional, a dated API version). See [API conventions](https://esigncomply.com/docs/api.md).

## Response

`200 OK` with a list of JurisdictionPackVersion objects.

```json
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "object": "jurisdiction_pack_version",
      "code": "US-CA",
      "version": "2026-11-21",
      "effective_at": "2026-11-21T00:00:00.000Z",
      "reviewed_at": null,
      "review_state": "research_reviewed",
      "content_hash": "sha256:d49d24bd...",
      "guidance_release": "2026.11.1",
      "published_at": "2026-11-22T05:12:47.753Z",
      "changelog": "Initial version.",
      "rule_count": 16
    }
  ]
}
```

### Response fields

The list has `object` (always `list`), `data` (the items) and `has_more`. Each item is a JurisdictionPackVersion object:

| Field | Type | Description |
|---|---|---|
| `object` | string |  |
| `code` | string |  |
| `version` | string |  |
| `effective_at` | datetime |  |
| `reviewed_at` | datetime |  |
| `review_state` | string |  |
| `content_hash` | string |  |
| `guidance_release` | string |  |
| `published_at` | datetime |  |
| `changelog` | string |  |
| `rule_count` | integer |  |

## Errors

| Code | HTTP | When |
|---|---|---|
| [`jurisdiction_unknown`](https://esigncomply.com/docs/api/errors.md#jurisdiction_unknown) | 400 | When the code is not in the catalogue. |

Like every call that can carry a key, it can also return [`invalid_api_key`](https://esigncomply.com/docs/api/errors.md#invalid_api_key), [`domain_not_verified`](https://esigncomply.com/docs/api/errors.md#domain_not_verified), [`insufficient_permission`](https://esigncomply.com/docs/api/errors.md#insufficient_permission), [`region_mismatch`](https://esigncomply.com/docs/api/errors.md#region_mismatch) and [`internal_error`](https://esigncomply.com/docs/api/errors.md#internal_error).

Every error has the same body: `error.type`, `error.code`, `error.message`, `error.doc_url` and `error.request_id`. See [Errors](https://esigncomply.com/docs/api/errors.md).

## Questions about GET /v1/jurisdictions/{code}/versions

### Which credential does GET /v1/jurisdictions/{code}/versions need?

None. The call answers without a key. A secret key is accepted, sent as a Bearer token in the Authorization header.

### Does GET /v1/jurisdictions/{code}/versions work with a test key?

Yes. The call needs no key, so it answers the same way for everyone. A test key and a live key are both accepted.

### Does GET /v1/jurisdictions/{code}/versions count as a signature event?

No. A signature event is counted when a live record is written, by completing a session or by submitting a deferred acceptance. This call writes no record.

### Is GET /v1/jurisdictions/{code}/versions idempotent?

It is a read, so it is safe to repeat. It takes no Idempotency-Key header.

### What is the rate limit for GET /v1/jurisdictions/{code}/versions?

The API applies no rate limit of its own to this call. It is a public read of data that is the same for everyone.

### Does the Node SDK have a method for GET /v1/jurisdictions/{code}/versions?

Yes: esc.jurisdictions.versions() in the esigncomply package. It resolves to { data, error } and does not throw.

## Related

- [Jurisdictions](https://esigncomply.com/docs/api/jurisdictions.md): the overview of the resource and all of its operations.
- [Dry-run a jurisdiction resolution](https://esigncomply.com/docs/api/jurisdictions/dry-run-a-jurisdiction-resolution.md): `POST /v1/jurisdictions/resolve`
- [List jurisdiction packs](https://esigncomply.com/docs/api/jurisdictions/list-jurisdiction-packs.md): `GET /v1/jurisdictions`
- [Retrieve a jurisdiction pack](https://esigncomply.com/docs/api/jurisdictions/retrieve-a-jurisdiction-pack.md): `GET /v1/jurisdictions/{code}`
- [Jurisdiction packs](https://esigncomply.com/docs/guides/jurisdictions.md)
- [Errors](https://esigncomply.com/docs/api/errors.md): every error code, with what to do.
- [API conventions](https://esigncomply.com/docs/api.md): authentication, idempotency, rate limits and versioning.
