---
title: "List short codes associated with a messaging profile"
method: GET
path: "/messaging_profiles/{id}/short_codes"
tags: ["Profiles"]
---

# List short codes associated with a messaging profile

`GET /messaging_profiles/{id}/short_codes`

## Path parameters

- `id` string, uuid, required

## Query parameters

- `page` object
  - `number` integer — The page number to load
  - `size` integer — The size of the page

## Response `200`

Successful response with a list of messaging profile short codes.

- object
  - `data` ShortCode[]
    - `record_type` 'short_code' — Identifies the type of the resource.
    - `id` string, uuid — Identifies the type of resource.
    - `short_code` string — Short digit sequence used to address messages.
    - `country_code` string — ISO 3166-1 alpha-2 country code.
    - `messaging_profile_id` string, nullable, required — Unique identifier for a messaging profile.
    - `tags` string[] — Tags associated with the resource.
    - `created_at` string, date-time — ISO 8601 formatted date indicating when the resource was created.
    - `updated_at` string, date-time — ISO 8601 formatted date indicating when the resource was updated.
  - `meta` MessagingPaginationMeta0b38e7044b
    - `total_pages` integer, required
    - `total_results` integer, required
    - `page_number` integer, required
    - `page_size` integer, required

## Other responses

- `4XX` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
