***

title: get
slug: /reference/typescript/rest/short-codes/get
description: Retrieve a specific short code.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Retrieve a specific short code.

<EndpointSchemaSnippet endpoint="GET /api/relay/rest/short_codes/{id}" />

## **Response Example**

<EndpointResponseSnippet endpoint="GET /api/relay/rest/short_codes/{id}" />

## **Example**

```typescript {9-10}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com"
});

const code = await client.shortCodes.get("short-code-id");
console.log(code.number);
```