Skip to content

Set authenticated user
deprecated

Request

Sets the user context for a client action reported to the SDK. It should be set only after you've fully authenticated the user (including, for example, any 2FA that was required). This call is deprecated, set the user with Report action result API.

Security
risk_access_token
Bodyapplication/jsonrequired
user_idstringrequired

Opaque identifier of the user in your system.

action_tokenstringrequired

The token return by the SDK when the action was reported.

curl -i -X POST \
  https://api.sbx.transmitsecurity.io/risk/v1/action/authenticated-user \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "user_id": "string",
    "action_token": "string"
  }'

Responses

User Auth has been received and stored successfully.