Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt

Use this file to discover all available pages before exploring further.

Creates a policy for the authenticated tenant. Set status to DRAFT to save without enforcing, or ACTIVE to begin enforcement immediately. Each policy contains a set of rules evaluated in order. The first matching rule determines the outcome. If no rule matches, the default_effect applies.
See the issuance policies guide for a walkthrough of rule syntax, condition operators, and lifecycle management.

Parameters

name
string
required
A human-readable name for the policy (e.g., “US Issuers Only”).
category
string
required
The action this policy applies to: MINT, VERIFY, or BUNDLE_EXPORT.
status
string
required
Initial status: DRAFT, ACTIVE, or DISABLED. Only ACTIVE policies are enforced.
description
string
Optional description explaining the policy’s purpose.
language
string
Rule language. Use json_rules for the built-in JSON rules engine.
rules
object
required
The rule set containing an array of rules and a default_effect.

Responses