Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(contact): describe every 403 cause of the number check

Yudhi Armyndharise9c938702407
diff --git a/src/modules/contact/contact.controller.ts b/src/modules/contact/contact.controller.ts
index 8b358aeb2..6272cbb0f 100644
--- a/src/modules/contact/contact.controller.ts
+++ b/src/modules/contact/contact.controller.ts
@@ -143,7 +143,6 @@ export class ContactController {
'would be a claim about the number rather than about the query, and this route exists to be ' +
'trusted before a send.',
})
- @ApiResponse({ status: 403, description: 'API key role below OPERATOR' })
@ApiResponse({ status: 409, description: ENGINE_NOT_READY_409 })
async checkNumber(@Param('sessionId') sessionId: string, @Param('number') number: string) {
// The engine returns the canonical chat id in its native format; we don't build the JID here