Skip to main content
POST
/
suppression-groups
curl --request POST \
  --url 'https://api.autosend.com/v1/suppression-groups' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Marketing Unsubscribes",
    "description": "Users who opted out of marketing",
    "isActive": true
  }'
{
  "success": true,
  "data": {
    "id": "6a0c49ef6ae88a19f5a01cb1",
    "groupId": "GEHYB",
    "name": "Marketing Unsubscribes",
    "description": "Users who opted out of marketing",
    "isGlobal": false,
    "isActive": true,
    "createdAt": "2026-05-19T11:30:55.935Z",
    "updatedAt": "2026-05-19T11:30:55.935Z",
    "suppressionCount": 0
  }
}
curl --request POST \
  --url 'https://api.autosend.com/v1/suppression-groups' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Marketing Unsubscribes",
    "description": "Users who opted out of marketing",
    "isActive": true
  }'
{
  "success": true,
  "data": {
    "id": "6a0c49ef6ae88a19f5a01cb1",
    "groupId": "GEHYB",
    "name": "Marketing Unsubscribes",
    "description": "Users who opted out of marketing",
    "isGlobal": false,
    "isActive": true,
    "createdAt": "2026-05-19T11:30:55.935Z",
    "updatedAt": "2026-05-19T11:30:55.935Z",
    "suppressionCount": 0
  }
}

Authorizations

Authorizations
string | header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

name
string
required
The display name of the suppression group. Must be between 1 and 200 characters.
description
string
An optional human-readable description of the suppression group.
isActive
boolean
Whether the suppression group is active. Defaults to true if not specified.

Response

Suppression group created successfully
success
boolean
Example: true
data
object
The created suppression group.