Skip to content
DocsMenu

Get the conformance setting

View as Markdown

Open this page inChatGPTClaudeCursor

In the Esign Comply API, GET /v1/agent/conformance reads the domain's setting for a live signature that fails a rule: notify or block. An AI agent calls it with an agent token to check the setting before it asks the person about a change.

GET /v1/agent/conformance · API version 2026-11-21

Authentication

Send an agent token (esc_agent_...) in the Authorization header: Bearer $ESIGNCOMPLY_AGENT_TOKEN. The token acts as the member who created it, with that member's role. A person creates it under Agent access in the dashboard. An API key is refused with invalid_api_key. See Authentication of the agent account API.

Request example

cURL

curl https://esigncomply.com/v1/agent/conformance \
  -H "Authorization: Bearer $ESIGNCOMPLY_AGENT_TOKEN"

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 what the domain does when a live signature fails a rule. enforcement is notify (the default: the signature is recorded, and the owners and admins are told at once which rule failed and what to fix) or block (the signature is refused before it is sealed). Any role can read it: the call asks for no more than the view permission.

Parameters

This call takes no parameters.

Response

200 OK with a ConformanceSettings object.

{
  "object": "conformance_settings",
  "domain_id": "dom_4Kx9",
  "domain": "example.com",
  "enforcement": "notify",
  "applies_to": "live",
  "choices": {
    "notify": "The signature is recorded and sealed with the finding on it, and you are told at once which rule failed and what to fix: the conformance.finding_reported webhook fires, and owners and admins get an email.",
    "block": "The signature is refused before it is sealed: the completion call returns 422 conformance_failed with the findings, so your page can show the signer what to do."
  },
  "dashboard_url": "https://esigncomply.com/dashboard/conformance"
}

Response fields

Field Meaning
enforcement The value in force: notify or block.
applies_to Always live. Test mode never refuses a signature on a finding.
choices One sentence on what each value does.

Change the value with Set what a failing live signature does. GET /v1/agent shows the same value in conformance.enforcement.

Errors

This call has no error of its own. Like every call made with an agent token, it can also return missing_api_key, invalid_api_key, not_found, quota_exhausted, rate_limit_exceeded 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/agent/conformance

Which credential does GET /v1/agent/conformance need?

An agent token, which starts with esc_agent_. Send it as a Bearer token in the Authorization header. An API key is refused with invalid_api_key.

Does GET /v1/agent/conformance work with a test key?

An agent token has no test or live mode. It acts on the account, and the keys it creates are test keys or live keys.

Does GET /v1/agent/conformance 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/agent/conformance 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/agent/conformance?

60 calls per minute for each agent token and 120 per minute for each IP address. Past the limit the API answers 429 rate_limit_exceeded with a Retry-After header.

Does the Node SDK have a method for GET /v1/agent/conformance?

No. The agent account API is called over HTTP with the agent token. The esigncomply package works with API keys.

Last updated · API version 2026-11-21