# Client Actions

This backend API is used to report client actions, add the user context and report action results, allowing Fraud Prevention reporting and user profiling.


## Servers

Sandbox environment
```
https://api.sbx.transmitsecurity.io/risk/v1
```

Production environment (US)
```
https://api.transmitsecurity.io/risk/v1
```

Production environment (EU)
```
https://api.eu.transmitsecurity.io/risk/v1
```

Production environment (CA)
```
https://api.ca.transmitsecurity.io/risk/v1
```

Production environment (AU)
```
https://api.au.transmitsecurity.io/risk/v1
```

## Security

### risk_access_token

An access token generated by the [token endpoint](/openapi/token.openapi/other/getaccesstoken)

Type: http
Scheme: bearer
Bearer Format: JWT

## Download OpenAPI description

[Client Actions](https://developer.transmitsecurity.com/_bundle/openapi/risk/client-actions.openapi.yaml)

## Other

### Trigger action event

 - [POST /action/trigger-action](https://developer.transmitsecurity.com/openapi/risk/client-actions.openapi/other/triggeranaction.md): Report a client action event that occurs in an SDK session

### Report action result

 - [POST /action/result](https://developer.transmitsecurity.com/openapi/risk/client-actions.openapi/other/reportactionresult.md): 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).

### Assign actions

 - [PUT /action/assignee](https://developer.transmitsecurity.com/openapi/risk/client-actions.openapi/other/updateactionassignee.md): Set assignee for a list of actions.

### Set authenticated user (deprecated)

 - [POST /action/authenticated-user](https://developer.transmitsecurity.com/openapi/risk/client-actions.openapi/other/setauthuser.md): 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.

