Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(integration): declare the redrive 404 for a session-restricted key

Yudhi Armyndharisd89c659c18c0
diff --git a/src/modules/integration/redrive.controller.ts b/src/modules/integration/redrive.controller.ts
index e507c1f99..800f35aea 100644
--- a/src/modules/integration/redrive.controller.ts
+++ b/src/modules/integration/redrive.controller.ts
@@ -28,6 +28,10 @@ export class RedriveController {
description: 'One bounded batch of dead-lettered ingress deliveries re-dispatched, with remaining depth.',
type: RedriveResultDto,
})
+ @ApiResponse({
+ status: 404,
+ description: "Session-restricted key: the instance does not exist or is bound outside the key's allowedSessions.",
+ })
@ApiResponse({
status: 409,
description: 'The instance is disabled or deleted; its dead-lettered deliveries cannot be re-dispatched.',