Skip to content
Sign in Create account

Record a persona decode event

POST /api/v1/personas/keys/audit-decode

Records a decode event for the supplied key and receipt identifiers.

Authenticate with a portal session token.

Request body

application/json object

  • kid string required
    Length: at most 128 characters
  • receipt_jti string required
    Length: at most 128 characters

Example

{
  "kid": "example-value",
  "receipt_jti": "example-value"
}

Responses

201 Decode event recorded.

application/json PrivacyAuditDecode

  • at string (date-time) required
  • audit_id integer required
  • prev_sig string required
  • recorded boolean required

Generated sample

{
  "at": "2026-01-01T00:00:00Z",
  "audit_id": 0,
  "prev_sig": "string",
  "recorded": true
}
401 Authentication is required.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
403 The authenticated principal lacks the required permission.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
404 Persona key not found.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
422 The request failed validation.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
429 The request rate limit was exceeded.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string

text/html string