Skip to main content
GET
/
api
/
content
/
subscribergroups
/
{id}
Get one SubscriberGroup
curl --request GET \
  --url https://spaces.nexudus.com/api/content/subscribergroups/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "BusinessId": 123,
  "BusinessName": "<string>",
  "Name": "<string>",
  "NewsLetterSubscribers": [
    123
  ],
  "AutoAddMembers": true,
  "AutoAddContacts": true,
  "AutoAddBookings": true,
  "AutoAddEvents": true,
  "AutoAddVisitors": true,
  "AutoAddPayingMembers": true,
  "Tariffs": [
    123
  ],
  "AutoMembership": true,
  "Id": 123,
  "UniqueId": "<string>",
  "CreatedOn": "<string>",
  "UpdatedOn": "<string>",
  "UpdatedBy": "<string>",
  "IsNew": true,
  "SystemId": "<string>"
}
A SubscriberGroup defines a segment or group of newsletter subscribers that can be targeted for specific communications or campaigns.

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-Read role.

Path Parameters

id
integer
required
The Id of the SubscriberGroup record to retrieve.

Code Examples

curl -X GET \
  "https://spaces.nexudus.com/api/content/subscribergroups/87654321" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

BusinessId
integer
ID of the business linked to this record.
BusinessName
string
Display name of the linked business (read-only).
Name
string
The name value for this subscriber group.
NewsLetterSubscribers
integer[]
List of news letter subscribers linked to this record.
AutoAddMembers
boolean
Whether auto add members is enabled.
AutoAddContacts
boolean
Whether auto add contacts is enabled.
AutoAddBookings
boolean
Whether auto add bookings is enabled.
AutoAddEvents
boolean
Whether auto add events is enabled.
AutoAddVisitors
boolean
Whether auto add visitors is enabled.
AutoAddPayingMembers
boolean
Whether auto add paying members is enabled.
Tariffs
integer[]
List of tariffs linked to this record.
AutoMembership
boolean
Whether auto membership is enabled.
Id
integer
Unique record identifier.
UniqueId
string
UUID of the record.
CreatedOn
string
Date and time the record was created (ISO 8601).
UpdatedOn
string
Date and time the record was last updated (ISO 8601).
UpdatedBy
string
Email of the user who last updated this record.
IsNew
boolean
Whether the record was recently created.
SystemId
string
External system identifier.
Example Response
{
  "BusinessId": 0,
  "BusinessName": null,
  "Name": "",
  "NewsLetterSubscribers": [],
  "AutoAddMembers": false,
  "AutoAddContacts": false,
  "AutoAddBookings": false,
  "AutoAddEvents": false,
  "AutoAddVisitors": false,
  "AutoAddPayingMembers": false,
  "Tariffs": [],
  "AutoMembership": false,
  "Id": 87654321,
  "UpdatedOn": "2025-01-15T10:30:00Z",
  "CreatedOn": "2025-01-10T08:00:00Z",
  "UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "UpdatedBy": "admin@example.com",
  "IsNew": false,
  "SystemId": null,
  "ToStringText": "SubscriberGroup Example",
  "LocalizationDetails": null,
  "CustomFields": null
}