Skip to main content

Overview

Delete an existing WhatsApp Business integration from your workspace. Once deleted, the WhatsApp number will no longer receive or send messages through Weya AI, and any associated WhatsApp Agents must be reassigned before they can be used again.

Prerequisites

  • Bearer Token authentication
  • Valid WhatsApp Phone Number ID

Request

string
required
Bearer token for authenticated workspace access.
string
required
Unique identifier of the WhatsApp Business phone number to delete.

Response

boolean
Indicates whether the request completed successfully.
integer
HTTP status code returned by the API.
string
Confirmation message indicating the WhatsApp number was removed successfully.

Error Handling

Deleting a WhatsApp number removes its integration from your workspace. Any WhatsApp Agents assigned to this number should be reassigned before deleting the integration.
Before deleting a WhatsApp number, you may want to:
  • Retrieve all connected WhatsApp numbers using GET /api/whatsapp/whatsapp-number.
  • Remove or reassign any WhatsApp Agent linked to the number.
  • Export any required configuration or templates associated with the integration.