---
title: "Get the details of a specific distribution list"
method: GET
path: "/api/v2/distribution-lists/{id}"
tags: ["Distribution Lists"]
---

# Get the details of a specific distribution list

`GET /api/v2/distribution-lists/{id}`

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Distribution%20Lists/getDistributionList" target="_blank">Try in sandbox</a><br>

## Path parameters

- `id` integer, required

## Response `200`

Returned when successful.

- DistributionList
  - `id` integer, required — Distribution list ID.
  - `name` string, required — Distribution list name.
  - `email` string, required — The auto-generated email address. Emails sent here are forwarded as text messages to the list recipients.
  - `membersCount` integer, required — Total number of unique recipients (contacts + list members + segment members + numbers, de-duplicated).
  - `includeOptions` 'body' | 'subject' | 'both', required — Which part of the incoming email is included in the outgoing SMS.
  - `maxLength` integer, required — Maximum number of SMS parts per message (1-6).
  - `recipients` DistributionListRecipients, required
    - `contactIds` integer[], required — IDs of individual contacts included in the list.
    - `groupIds` integer[], required — IDs of contact lists (groups) included in the list.
    - `segmentIds` integer[], required — IDs of segments (saved filter views) included in the list.
    - `numbers` string[], required — Plain phone numbers included in the list.
  - `senderSource` DistributionListSenderSource, required
    - `id` integer, nullable — ID of the sender number/entity the messages are sent from.
    - `phone` string, nullable — The resolved phone number or sender ID.
    - `type` string, nullable — Sender source type.
    - `countryId` string, nullable — Country of the sender number.
    - `label` string, nullable — Label of the sender number.
    - `status` string, nullable — Status of the sender number.
    - `carrierStatus` string, nullable — Carrier status of the sender number.

## Other responses

- `401` — Unauthorized request.
- `404` — Request data not found.

---

[API](https://skmtc.net/textmagic/apis/textmagic-api.md) · [All operations](https://skmtc.net/textmagic/apis/textmagic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textmagic/textmagic-api/revisions/3e4029d19684/schema)
