diff --git a/src/ReC.API/Controllers/RecActionController.cs b/src/ReC.API/Controllers/RecActionController.cs
index 31751f5..6fdfcc7 100644
--- a/src/ReC.API/Controllers/RecActionController.cs
+++ b/src/ReC.API/Controllers/RecActionController.cs
@@ -13,14 +13,14 @@ public class RecActionController(IMediator mediator) : ControllerBase
///
/// Invokes a batch of RecActions for a given profile.
///
- /// The command containing the profile ID.
+ /// The identifier of the profile whose RecActions should be invoked.
/// A token to cancel the operation.
/// An HTTP 202 Accepted response indicating the process has been started.
- [HttpPost("invoke/{command}")]
+ [HttpPost("invoke/{profileId}")]
[ProducesResponseType(StatusCodes.Status202Accepted)]
- public async Task Invoke([FromRoute] InvokeBatchRecActionViewsCommand command, CancellationToken cancel)
+ public async Task Invoke([FromRoute] long profileId, CancellationToken cancel)
{
- await mediator.Send(command, cancel);
+ await mediator.Send(new InvokeBatchRecActionViewsCommand { ProfileId = profileId }, cancel);
return Accepted();
}