Skip to content
DocsMenu

List jurisdiction pack versions

View as Markdown

Open this page inChatGPTClaudeCursor

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

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

Node SDK

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.

Response

200 OK with a list of JurisdictionPackVersion objects.

{
  "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 400 When the code is not in the catalogue.

Like every call that can carry a key, it can also return invalid_api_key, domain_not_verified, insufficient_permission, region_mismatch and internal_error.

Every error has the same body: error.type, error.code, error.message, error.doc_url and error.request_id. See Errors.

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.

Last updated · API version 2026-11-21