Documentation
HTTP API Documentation
https://api.waapi.meDelete instance
This request allows you to delete an existing WaAPI instance. Use this method to permanently remove a bot and its associated data from the system.
Request
This section provides an example HTTP request for deleting a bot instance. Ensure that you include the correct URL and instance ID so that the intended instance is deleted.
DELETEhttps://api.waapi.me/instance/:idHeaders
When making this request, it`s important to include Authorization HTTP header
Authorization: <YOUR_API_KEY>Response
In the response, you’ll find a JSON example confirming the deletion of the instance. The response includes the instance ID of the deleted bot, verifying that the correct instance was removed. Refer to the table for a description of each field in the response to understand its structure and content.
Field | Type | Description |
|---|---|---|
| id | string|uuid | Instance(bot) id |
| name | string | Instance(bot) name |
| phone | string | Connected phone number |
| platform | string|enum | Connected phone platform |
| status | string|enum | Instance(bot) status |
| hookUrl | string|url|null | Webhook URL |
| messageHook | boolean | Send outgoing messages to webhook url flag |
| messageBotHook | boolean | Send incoming messages to webhook url flag |
| instanceHook | boolean | Send instance(bot) changes to webhook url flag |