# Parâmetros de URL no API Gateway

Em alguns casos, pode ser necessário coletar o conteúdo da URL de uma chamada de API. Isso pode ser feito usando os parâmetros de API Gateway do **Skyone Studio**.&#x20;

Para isso, siga os seguintes passos:

1. Acesse o menu "**API Gateway**", localizado na lateral esquerda da tela. A tela abaixo será exibida:

<figure><img src="/files/9SN96rdGEeeBuQ4EWObY" alt=""><figcaption></figcaption></figure>

2. Clique em "**Criar API Gateway**" ou selecione uma já existente para editar. Se for o seu primeiro API Gateway, [saiba como criá-lo aqui](/skyone-studio/api-gateway.md#criar-um-api-gateway).
3. Ao selecionar o API Gateway, a tela abaixo será exibida:

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

4. Clique no ícone de edição da versão. Caso não possua uma versão, [saiba como criá-lo aqui.](/skyone-studio/api-gateway.md#criacao-de-uma-versao)
5. Na tela de edição da versão, clique em "**Nova rota"**. Preencha os campos com os dados necessários. Em "**URL da Rota**", prefixe o parâmetro que deseja receber com **":"**, como no exemplo abaixo:&#x20;

<figure><img src="/files/5YJuHIb5WmtiaBUGhRo7" alt=""><figcaption></figcaption></figure>

6. Em seguida, salve as alterações. Dessa forma, o parâmetro **id** estará disponível no fluxo.
7. Na configuração do gatilho no fluxo, você pode definir um valor, por exemplo:

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

E pode trabalhar com os valores nos próximos componentes:<br>

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

Para fazer a chamada basta trocar a parte da URL prefixada com os ":" pelo valor real.&#x20;

Leia também:&#x20;

[Caso de uso: parâmetros de gatilho API Gateway](/skyone-studio/how-to/caso-de-uso-parametros-de-gatilho-api-gateway.md)


---

# 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.skyone.cloud/skyone-studio/how-to/parametros-de-url-no-api-gateway.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.
