Remove the agent from one of the project's WhatsApp numbers, stopping automatic AI replies on that number. The agent keeps answering on its other numbers with their settings unchanged. The response is an object confirming the operation.
curl --request DELETE \
--url 'https://api.nabrah.ai/api/ext/omni_v2/whatsapp/unassign_chatbot' \
--header 'X-API-Key: <your-api-key>'// No example body for this response.After unassigning, incoming WhatsApp messages on that number are no longer answered automatically by an AI agent.
Check the current assignment first with GET /api/ext/omni_v2/whatsapp/get_chatbot, and re-attach later with POST /api/ext/omni_v2/whatsapp/assign_chatbot.
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.
Another change to the same number's agent is still being saved. Wait a moment, then try again; GET /api/ext/omni_v2/whatsapp/get_chatbot shows the result once it is saved.
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