Fingerprint a structured action intent

Derive a stable SHA-256 action fingerprint and idempotency key from a named action, JSON arguments, and optional scope. Object-key order does not affect the result. The operation stores nothing and does not echo the supplied arguments.

post/v1/actions/fingerprint

Request

  • Base URL: https://api.scrubmytext.com
  • URL: https://api.scrubmytext.com/v1/actions/fingerprint
  • Auth: one of:
    • none
    • HTTP bearer

Request body

actionstring required

Stable action name, such as refund_order or send_email.

argumentsobject required

JSON object containing the action inputs. Object keys are sorted during canonicalization; array order remains significant.

scopestring

Optional namespace used to separate otherwise identical action intents.

Response

Stable fingerprint and ready-to-use idempotency key

brand'LockMyAction' required
action_fingerprintstring required
idempotency_keystring required
algorithm'sha256' required
canonicalizationstring required
canonical_bytesinteger required
noticestring required

Changes

No recorded changes to this operation across all 1 revision of this API.