# API

{% hint style="warning" %}
Estamos em fase beta, portanto, novas funções podem ser adicionadas.
{% endhint %}

Antes de consumir os endpoints da API, é importante que você tenha em mãos o seu **hookey** e **code** da sua conta. Para resgatá-los, basta navegar pelo menu lateral e acessar a categoria **Configurar** e escolher a opção **Webhooks**.

1. Seu **hookey** estará no primeiro campo do formulário;
2. O **code** da conta fica logo abaixo, em um <mark style="color:orange;">**payload**</mark> de exemplo para disparo de webhooks.<br>

   <figure><img src="/files/SItU6SSh0YG9p6hVKHsF" alt=""><figcaption></figcaption></figure>

Acesse os itens da categoria API para aprender mais sobre as funcionalidades disponíveis e como realizar o seu consumo.


---

# 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://docs.dalego.com/integracoes/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.
