diff --git a/rest/index.php b/rest/index.php
index 7c718c79aebf39ce28cbae7ea3312833b06b554d..0e7a0e146568eaf701fc9a934c6c04f6c1ff3caf 100755
--- a/rest/index.php
+++ b/rest/index.php
@@ -99,8 +99,7 @@ $app->get('/documents/{id}/history', \History\controllers\HistoryController::cla
 $app->put('/documents/{id}/actions/{actionId}', \Document\controllers\DocumentController::class . ':setAction');
 $app->get('/documents/{id}/workflow', \Workflow\controllers\WorkflowController::class . ':getByDocumentId');
 $app->get('/documents/{id}/workflows/{workflowId}/files/{fileId}', \Workflow\controllers\YousignController::class . ':getByFileId');
-$app->get('/documents/{id}/workflows/{workflowId}/files/{fileId}/fastStatus/{fastStatus}', \Workflow\controllers\FastOTPController::class . ':getReturnFast');
-$app->get('/externalSignatoryBookReturn/{token}/status/{status}', \Workflow\controllers\FastOTPController::class . ':getReturnFast');
+$app->get('/externalSignatoryBookReturn', \Workflow\controllers\FastOTPController::class . ':getReturnFast');
 $app->get('/documents/{id}/linkedMailing', \Document\controllers\DocumentController::class . ':getLinkedMailing');
 $app->get('/documents/{id}/thumbnails/{page}', \Document\controllers\DocumentController::class . ':getThumbnailContent');
 $app->put('/documents/{id}/workflows/interrupt', \Workflow\controllers\WorkflowController::class . ':interrupt');
diff --git a/src/app/workflow/controllers/FastOTPController.php b/src/app/workflow/controllers/FastOTPController.php
index 8ee23d5d05e07efa928204c020a0c082af57ba08..708fa3ab55ed845bbbdc85686d6bd3ae49d6efe6 100644
--- a/src/app/workflow/controllers/FastOTPController.php
+++ b/src/app/workflow/controllers/FastOTPController.php
@@ -123,13 +123,15 @@ class FastOTPController
 
     public function getReturnFast(Request $request, Response $response, array $args)
     {
-        $checkToken = FastOTPController::checkToken(['token' => $args['token'] ?? null]);
+        $queryParams = $request->getQueryParams();
+
+        $checkToken = FastOTPController::checkToken(['token' => $queryParams['token'] ?? null]);
         if (!empty($checkToken['errors'])) {
             return $response->withStatus(400)->withJson(['errors' => $checkToken['errors']]);
         }
         $documentId = $checkToken['documentId'];
         $workflowId = $checkToken['workflowId'];
-        $fastStatus = $args['status'] ?? null;
+        $fastStatus = $queryParams['status'] ?? null;
 
 
         $workflow = WorkflowModel::get([