latestSwagger 2.02026-08-101561322.2 MB
3e4029d19684
Distribution Lists
Get the details of a specific distribution list
<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Distribution%20Lists/getDistributionList" target="_blank">Try in sandbox</a><br>
get/api/v2/distribution-lists/{id}
Path parameters
idinteger required
Response
Returned when successful.
Example response
{
"id": 715,
"name": "Support alerts",
"email": "ab12345678@distributionlists.textmagic.com",
"membersCount": 332,
"includeOptions": "both",
"maxLength": 6,
"recipients": {
"contactIds": [
1,
2
],
"groupIds": [
3
],
"segmentIds": [
4,
5
],
"numbers": [
"+15551234567"
]
},
"senderSource": {
"phone": "+15551234567"
}
}