Distribution Lists
Get the details of a specific distribution list
Changed on<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}
Request
- Base URLhttps://rest.textmagic.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
}Changes
- info
endpoint added
- info