> For the complete documentation index, see [llms.txt](https://c2dbr-pt.gitbook.io/c2dbr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://c2dbr-pt.gitbook.io/c2dbr/api-and-webhooks/scenarios-get.md).

# scenarios (GET)

Retorna uma lista dos items disponíveis do menu de autoatendimento. Request:

![](/files/Mm0bdDGuQo0oEZV9lLyA)

Parâmetros:&#x20;

• channel\_id– (opcional)idde um canal. O Menu de autoatendimento é diferente para cada canal.&#x20;

• level – (opcional) Nível dos itens do menu. Primeiro(origem) nível é o 1 . Alguns campos nos resultados:&#x20;

• command – Comando rápido para chamar esse item do menu da interface da web.&#x20;

• parentID– Id do item superior do menu. Se o item atual é o principal, é retornado null.

• position – posição do atual item de menu em seu nível.&#x20;

• level – nível do atual item do menu.&#x20;

• url – url para chamar quando esse item do menu é escolhido por um cliente.&#x20;

• url\_enabled– se é igual a 1, tentão o sistema será enviado de volta ao cliente a resposta em texto que a url acima retorna.&#x20;

• assign\_id– se é igual a 1,então a conversa

&#x20;com o atual cliente será atribuída para o operador especificado (se não foi atribuída ainda).&#x20;

• assign\_subject – para quem atribuir o chat (veja o item anterior).&#x20;

• image – link para imagem ou PDF que é enviada quando esse item do menu é escolhido (assim como texto).&#x20;

• tag\_id – tag para atribuir ao request (pedido)(não ao cliente) quando este item do menu é escolhido.

Resposta típica:

![](/files/UtnNjIPwtc0cB6IN3YmY)

![](/files/OCyJqAVo5BH9wWZFB0Kk)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://c2dbr-pt.gitbook.io/c2dbr/api-and-webhooks/scenarios-get.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
