# URL Parameters in API Gateway

In some cases, it may be necessary to collect the URL content from an API call. This can be done using the API Gateway parameters in **Skyone Studio.**

To do this, follow these steps:

1. Access the "**API Gateway**" menu, located on the left side of the screen. The following screen will appear:<br>

   <figure><img src="/files/ZbQ9ollGDGfyj4rNiMc0" alt=""><figcaption></figcaption></figure>
2. Click on "**Create API Gateway**" or select an existing one to edit. If this is your first API Gateway, [learn how to create it here](/english/skyone-studio/api-gateway.md#criar-um-api-gateway).
3. When selecting the API Gateway, the following screen will appear:<br>

   <figure><img src="/files/Dp0CkCHV4HQT0tavzGZh" alt=""><figcaption></figcaption></figure>
4. Click the version edit icon. If you don't have a version, [learn how to create it here](/english/skyone-studio/api-gateway.md#criacao-de-uma-versao).
5. On the version edit screen, click "**New route**". Fill in the fields with the necessary data. In "**Route URL**", prefix the parameter you want to receive with **":"**, as shown in the example below:<br>

   <figure><img src="/files/lcXbIRYeDHUFXzlzFiKJ" alt=""><figcaption></figcaption></figure>
6. Next, save the changes. This way, the **id** parameter will be available in the flow.
7. In the trigger configuration in the flow, you can define a value, for example:<br>

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

You can then work with the values in the following components:<br>

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

To make the call, simply replace the part of the URL prefixed with ":" with the actual value.


---

# 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/english/skyone-studio/how-to/url-parameters-in-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.
