> For the complete documentation index, see [llms.txt](https://support.marscat.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.marscat.io/development-guide/frontend-development/api-interface/api-interface-details/level-0/openurl.md).

# openURL

Used to open a specified HTTPS website link, suitable for external redirection behavior.

{% hint style="info" %}
The optional parameter `useSystemOpen` supports opening the page in the local browser, defaulting to opening in the RelayX embedded window.
{% endhint %}

## Request Parameters

| Parameter Name | Type    | Required | Description                                                                      |
| -------------- | ------- | -------- | -------------------------------------------------------------------------------- |
| url            | String  | Yes      | Target jump address, must be HTTPS protocol, character length not exceeding 200. |
| useSystemOpen  | Boolean | No       | Whether to use the local system browser to open, default false.                  |

## Response Parameters

None

## Call Example

{% code title="Example (JavaScript)" %}

```javascript
let payload = {
  url: "https://www.google.com",
  useSystemOpen: true
};

const response = await relayx.openURL(payload);
if (response.code === 200) {
  console.log("URL opened");
}
```

{% endcode %}
