{"success":true,"message":"Welcome to the Wasapi API. Here are the available endpoints:","endpoints":[{"method":"GET","path":"https://api.wasapi.com.ar/api/","description":"Provides a list of all available API endpoints."},{"method":"POST","path":"https://api.wasapi.com.ar/api/v1/contacts/sync","description":"Queues a task to synchronize all WhatsApp contacts."},{"method":"POST","path":"https://api.wasapi.com.ar/api/v1/messages/send","description":"Sends a simple text message to a specific number."},{"method":"POST","path":"https://api.wasapi.com.ar/api/v1/instance/connect","description":"Initiates a connection task for the WhatsApp instance."},{"method":"POST","path":"https://api.wasapi.com.ar/api/v1/instance/disconnect","description":"Initiates a disconnection task for the WhatsApp instance."},{"method":"GET","path":"https://api.wasapi.com.ar/api/v1/instance/status","description":"Gets the current connection status of the WhatsApp instance."},{"method":"GET","path":"https://api.wasapi.com.ar/api/v1/tasks/status","description":"Polls the status of a long-running task, like connection."},{"method":"GET","path":"https://api.wasapi.com.ar/api/v1/instance/check","description":"Verifies the API key and returns associated account information."},{"method":"POST","path":"https://api.wasapi.com.ar/api/v2/events/create","description":"Queues a generic event to be executed by the backend."},{"method":"POST","path":"https://api.wasapi.com.ar/api/v2/agents/upsert","description":"Creates or updates an AI agent. The 'type' field determines the agent's ID."},{"method":"POST","path":"https://api.wasapi.com.ar/api/v2/integrations/docadmin","description":"Creates or updates the Doc Admin integration for the user."},{"method":"POST","path":"https://api.wasapi.com.ar/api/v2/bulk-messages/create-and-run","description":"Creates a bulk message campaign and starts it immediately."},{"method":"GET","path":"https://api.wasapi.com.ar/api/v2/agents/{agentId}/info","description":"Retrieves all contextual information for a specific agent."},{"method":"POST","path":"https://api.wasapi.com.ar/api/v2/agents/{agentId}/info","description":"Adds a new piece of contextual information for an agent."},{"method":"POST","path":"https://api.wasapi.com.ar/api/v2/agents/{agentId}/info/sync","description":"Overwrites all contextual information for an agent with a new list."},{"method":"PUT","path":"https://api.wasapi.com.ar/api/v2/agents/{agentId}/info/{infoId}","description":"Updates an existing piece of contextual information for an agent."},{"method":"DELETE","path":"https://api.wasapi.com.ar/api/v2/agents/{agentId}/info/{infoId}","description":"Deletes a specific piece of contextual information for an agent."}]}