# Set watched jurisdictions

> PUT /v1/domains/{id}/watched-jurisdictions replaces the whole list of jurisdiction codes your domain watches for notices and returns the new list.

Source: https://esigncomply.com/docs/api/guidance/set-watched-jurisdictions

Last updated November 26, 2026

In the Esign Comply API, `PUT /v1/domains/{id}/watched-jurisdictions` replaces the whole list of jurisdiction codes your domain watches for notices and returns the new list. Use it to receive notices for a jurisdiction, for example `US-IL` or `FR`, without enabling a pack.

`PUT /v1/domains/{id}/watched-jurisdictions` · API version `2026-11-21`

## Authentication

Send a secret key in the `Authorization` header: `Bearer $ESIGNCOMPLY_API_KEY`. The key needs `full_access` permission. Test keys and live keys both work, and each reads and writes the objects of its own environment. Call it from your server: a secret key never goes to a browser. Keys and permissions are described under [Authentication](https://esigncomply.com/docs/api.md#authentication).

## Request example

### cURL

```bash
curl -X PUT https://esigncomply.com/v1/domains/dom_4Kx9/watched-jurisdictions \
  -H "Authorization: Bearer $ESIGNCOMPLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "jurisdictions": [
      "US-IL",
      "FR",
      "US-NY/NYC"
    ]
  }'
```

### Node SDK

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

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

const { data, error } = await esc.domains.watchJurisdictions("dom_4Kx9", ["US-IL", "FR", "US-NY/NYC"]);
```

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

A domain can watch any jurisdiction code without enabling a pack, for example `US-IL` or `FR`, to receive its notices. The request replaces the whole list. `{id}` must be the domain the key belongs to.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `id` | path | string | Yes | ID of the domain. |

### Body fields

| Field | Type | Required | Description |
|---|---|---|---|
| `jurisdictions` | string[] | Yes | Up to 100 codes. Each is a pack code, an ISO 3166-1 country, an ISO 3166-2 subdivision, or a locality such as `US-NY/NYC`. Codes are upper-cased and de-duplicated. An empty array clears the list. |

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

## Response

`200 OK` with a WatchedJurisdictions object.

```json
{
  "object": "watched_jurisdictions",
  "domain_id": "dom_4Kx9",
  "jurisdictions": [
    "US-IL",
    "FR",
    "US-NY/NYC"
  ]
}
```

### Response fields

| Field | Type | Description |
|---|---|---|
| `object` | string |  |
| `domain_id` | string |  |
| `jurisdictions` | array of string |  |

## Errors

| Code | HTTP | When |
|---|---|---|
| [`invalid_request`](https://esigncomply.com/docs/api/errors.md#invalid_request) | 400 | A code has the wrong form, or more than 100 codes were sent. |
| [`not_found`](https://esigncomply.com/docs/api/errors.md#not_found) | 404 | `{id}` is not the key's own domain. |

Like every call made with a secret key, it can also return [`missing_api_key`](https://esigncomply.com/docs/api/errors.md#missing_api_key), [`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), [`rate_limit_exceeded`](https://esigncomply.com/docs/api/errors.md#rate_limit_exceeded) 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 PUT /v1/domains/{id}/watched-jurisdictions

### Which credential does PUT /v1/domains/{id}/watched-jurisdictions need?

A secret key with full_access permission. Send it as a Bearer token in the Authorization header, from your server only. A session client token is refused with insufficient_permission.

### Does PUT /v1/domains/{id}/watched-jurisdictions work with a test key?

Yes. It works with test keys and live keys. A test key reads and writes test objects only, and a live key works once the domain is verified.

### Does PUT /v1/domains/{id}/watched-jurisdictions 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 PUT /v1/domains/{id}/watched-jurisdictions idempotent?

It takes no Idempotency-Key header. The API acts on that header for POST calls only, and this is a PUT.

### What is the rate limit for PUT /v1/domains/{id}/watched-jurisdictions?

The limit is counted for each key and depends on the plan: 2 requests per second on Free, 10 on Starter, 50 on Unlimited and 100 on Enterprise. Past the limit the API answers 429 rate_limit_exceeded with a Retry-After header.

### Does the Node SDK have a method for PUT /v1/domains/{id}/watched-jurisdictions?

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

## Related

- [Guidance and adoption](https://esigncomply.com/docs/api/guidance.md): the overview of the resource and all of its operations.
- [Get the guidance for a profile](https://esigncomply.com/docs/api/guidance/get-the-guidance-for-a-profile.md): `GET /v1/profiles/{id}/guidance`
- [Adopt pending record conditions](https://esigncomply.com/docs/api/guidance/adopt-pending-record-conditions.md): `POST /v1/profiles/{id}/adopt`
- [Roll back an adoption](https://esigncomply.com/docs/api/guidance/roll-back-an-adoption.md): `POST /v1/profiles/{id}/rollback`
- [List guidance notices](https://esigncomply.com/docs/api/guidance/list-guidance-notices.md): `GET /v1/guidance/notices`
- [Guidance and adoption](https://esigncomply.com/docs/guides/guidance.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.
