Skip to content

Report action result

Request

Reports the result of an action that a recommendation was issued for. This includes whether the user successfully completed the action, and what type of challenge was given to the user (if any).

Security
risk_access_token
Bodyapplication/jsonrequired
action_tokenstringrequired

The token return when the action event was reported

resultstringrequired

The action result.

Enum:"success""failure""incomplete"
user_idstring

Opaque identifier of the user in your system.

private_user_identifierstring

Identifier containing sensitive user data. Mosaic will encrypt and securely store this data.

challenge_typestring

Type of challenge used, in case a challenge was recommended for this action event

Enum:"sms_otp""email_otp""totp""push_otp""voice_otp""idv""captcha""invisible_captcha""password""passkey"
curl -i -X POST \
  https://api.sbx.transmitsecurity.io/risk/v1/action/result \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "action_token": "string",
    "result": "success",
    "user_id": "string",
    "private_user_identifier": "string",
    "challenge_type": "sms_otp"
  }'

Responses

Action result has been received and stored successfully.