---
title: "Gets the list of short codes for the current resource."
method: GET
path: "/shortCodes"
tags: ["ShortCodes"]
---

# Gets the list of short codes for the current resource.

`GET /shortCodes`

## Query parameters

- `skip` integer
- `top` integer
- `api-version` string, required

## Response `200`

Success

- ShortCodes — A wrapper for a list of short code entities.
  - `shortCodes` ShortCode[] — List of short codes.
    - `number` string — The value of the ShortCode or the alpha numeric e.g. '555555', 'CONTOSO', etc.
    - `numberType` 'shortCode' | 'alphaId' — The type of number e.g. 'ShortCode', 'AlphaId'.
    - `countryCode` string — ISO 3166 2-char code representing the country e.g. 'US'.
    - `programBriefIds` string[] — Program Brief Name.
    - `purchaseDate` string, date-time — Date in which number was purchased.
  - `nextLink` string — Represents the URL link to the next page.

## Other responses

- `default` — Failure

---

[API](https://skmtc.dev/azure/apis/shortcodesnumbersclient.md) · [All operations](https://skmtc.dev/azure/apis/shortcodesnumbersclient/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/shortcodesnumbersclient/revisions/e6782b139001/schema)
