# API

**Methods**

* [Text Messages](/wakit/api/text-messages.md)
* [Media Messages](/wakit/api/media-messages.md)

**Instructions**

* Before sending a message, you need to connect to a connection to send messages.\
  To register, access the "Connections" menu, click the edit connection button and\
  enter the appropriate KeyID field. [Connection](https://io.wakit.id/connections)
* KeyID can be found on the [Connection](https://io.wakit.id/connections) page in the edit button section.
* The sending number must not have a mask or special characters and must consist of:
  * Country code ID (62)


---

# 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://books.wakit.id/wakit/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.
