***

title: get
slug: /reference/python/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**

```python {9-10}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

code = client.short_codes.get("short-code-id")
print(code.get("short_code"))
```