latestOpenAPI 3.0.32026-08-20146131.7 MB
672b1916ba61
Issuance
Create a workflow rule
Creates a WHEN → THEN automation rule. The action is capability-gated at save time; an unsupported action returns 400 with a typed reason.
post/v1/issuance/tokens/{tokenId}/workflows
Path parameters
tokenIdstring required
Token identifier.
Example:tok_example
Token identifier.
Headers
x-project-idstring
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Example:prj_example
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Request body
Example request
{
"triggerType": "kyc_approved",
"actionType": "allowlist_add"
}Response
Workflow created