Delete one of the project's WhatsApp inboxes, disconnecting that WhatsApp number from the project. Choose the number with inbox_id. The response is a boolean indicating whether the deletion succeeded.
curl --request DELETE \
--url 'https://api.nabrah.ai/api/ext/omni_v2/whatsapp/inboxes' \
--header 'X-API-Key: <your-api-key>'falseDeleting an inbox removes the WhatsApp channel connection.
AgentsAn agent that answered on the deleted number stays configured and keeps answering on its other numbers.
Use GET /api/ext/omni_v2/whatsapp/inboxes to confirm which inbox(es) exist before deleting.
A project can connect more than one WhatsApp number. inbox_id selects the number this call works on.
inbox_id is optional; the project's only WhatsApp number is used.
inbox_id is required and the call returns 400 without it. An id that is not one of the project's WhatsApp numbers returns 404.
inbox_idList the numbers and their ids with GET /api/ext/omni_v2/whatsapp/inboxes.
X-API-KeystringheaderrequiredYour workspace API key. Create one in the dashboard under API keys.
inbox_idstringThe id of the WhatsApp number to use, from GET /api/ext/omni_v2/whatsapp/inboxes.
Use inboxes[].id (a UUID), not the numeric inboxes[].inbox_id. Optional while the project has one WhatsApp number; required once it has more than one.
Successful Response
application/json
Validation Error
application/json