# REFERENCIAS API

Demandu ofrece una serie de **APIs REST** que permiten gestionar contactos, conversaciones y más desde aplicaciones externas. Las referencias completas de API incluyen:

* **Contactos & Chats API:** Endpoints para obtener todos los contactos, obtener segmentos o grupos, añadir contactos de WhatsApp, eliminar contactos de WhatsApp, obtener metadatos de contactos de web, etc.
* *(Posiblemente otras APIs generales para el bot, dependiendo de la documentación)*

Cada endpoint está documentado con su URL, método HTTP, parámetros requeridos y ejemplo de respuesta. Por ejemplo, para obtener todos tus contactos via API:

```
GET /api/v1/contacts  (requiere autenticación con token API)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://recursos.demandu.tech/guia-de-productos-y-formacion/referencias-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
