---
type: api
title: Get a short URL
description: Get a single Kibana short URL.
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/kibana/v8/operation/operation-get-url
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/kibana/v8/operation/operation-get-url
products:
  - Kibana
---

# Get a short URL

Authentication: required

Availability: Preview

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/short_url/{id}`

#### Path parameters

- `id` (string) — required
  The identifier for the short URL.

## Description

Get a single Kibana short URL.

## Response

Indicates a successful call.

`application/json`

- `accessCount` (integer)
- `accessDate` (string)
- `createDate` (string)
- `id` (string)
  The identifier for the short URL.
- `locator` (object)
  - `id` (string)
    The identifier for the locator.
  - `state` (object)
    The locator parameters.
  - `version` (string)
    The version of Kibana when the short URL was created.
- `slug` (string)
  A random human-readable slug is automatically generated if the `humanReadableSlug` parameter is set to `true`. If it is set to `false`, a random short string is generated.
## Code examples

#### Console

```console
GET kbn:/api/short_url/ID
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/short_url/${ID}" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### 200

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "accessCount": 0,
  "accessDate": "string",
  "createDate": "string",
  "id": "string",
  "locator": {
    "id": "string",
    "state": {},
    "version": "string"
  },
  "slug": "string"
}
```

