# TSSetActionResponse

Response returned by [`triggerAction()`](/sdk-ref/cordova-ts-accountprotection/drs#triggeraction).

## Properties

### success

• **success**: `boolean`

Indicates if the action event was reported successfully. `triggerAction()` does not throw on rejection, so check this value before using `actionToken`.

### actionToken

• **actionToken**: `string`

The token returned by the plugin when the action was reported. Pass this token to the [Recommendation API](/openapi/risk/recommendations.openapi/other/getriskrecommendation) to fetch risk recommendations.