SubscriberGroups
Create SubscriberGroup
Create a new SubscriberGroup record.
POST
Create SubscriberGroup
A newsletter subscriber group (SubscriberGroup) is a location-scoped audience segment for organising newsletter subscribers, either manually or through scheduled rules for members, contacts, attendees, visitors, and booking customers.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the SubscriberGroup-Create role.Request Body
Required Fields
integer
required
ID of the location that owns this newsletter subscriber group..
string
required
Required, unique name used to identify this newsletter subscriber group within the location..
Optional Fields
integer[]
List of newsletter subscriber IDs manually assigned to this group; smart-group updates can also add or remove subscribers based on the enabled criteria..
boolean
Whether the smart group automatically includes current members; enabled member criteria are reconciled on the smart-group update cycle..
boolean
Whether the smart group automatically includes current contacts, meaning customers without an active contract..
boolean
Whether the smart group automatically includes customers who have made a booking..
boolean
Whether the smart group automatically includes event attendees..
boolean
Whether the smart group automatically includes visitors to the location..
boolean
Whether the smart group automatically includes team paying members..
integer[]
List of plan IDs used to restrict automatic member inclusion; an empty list means all member plan types, and the list is cleared unless automatic member inclusion or system-managed membership is enabled..
Code Examples
Response
200
integer
HTTP status code.
200 on success.string
A human-readable message confirming the creation.
object
Contains the
Id of the newly created record.boolean
true if the subscribergroup was created successfully.array
null on success.Example Response
400
string
A summary of the validation error(s), in the format
PropertyName: error message.any
null on validation failure.object[]
Array of validation errors.
boolean
false when the request fails validation.Example Response