Retrieve the details of a specific suppression group by ID using the AutoSend API.
curl --request GET \
--url 'https://api.autosend.com/v1/suppression-groups/AB12C3' \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"id": "AB12C3",
"name": "Marketing Unsubscribes",
"description": "Users who opted out of marketing",
"isActive": true,
"isGlobal": false
}
}
curl --request GET \
--url 'https://api.autosend.com/v1/suppression-groups/AB12C3' \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"id": "AB12C3",
"name": "Marketing Unsubscribes",
"description": "Users who opted out of marketing",
"isActive": true,
"isGlobal": false
}
}
<token>, where <token> is your auth token.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the suppression group.
"AB12C3"
curl --request GET \
--url 'https://api.autosend.com/v1/suppression-groups/AB12C3' \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"id": "AB12C3",
"name": "Marketing Unsubscribes",
"description": "Users who opted out of marketing",
"isActive": true,
"isGlobal": false
}
}