---
url: "https://vueda.dev/v3/reference/api/js/utils/urls/functions/getUrl.md"
title: "getUrl"
---

# getUrl

## Overview

Gets the URL for a key.

## Signature

`getUrl(key)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-key">key</span> | `string` | yes | the key code uses to look up the URL |

### Returns

`string`

- the URL for the key

## Source

`client/lib/utils/urls.js:64`
