For the complete documentation index, see llms.txt. This page is also available as Markdown.

Subscriber

The Subscriber object manages the configuration of notifications for accounts.

It serves as the link between an account and a notification category, storing details about whether that category is enabled for the account and identifying the recipients who should receive notifications for it.

This object contains the following attributes:

Field
Type
Description

id

string, core

(Read-only) The primary identifier for the notification subscriber.

href

string, core

(Read-only) A relative reference to the object.

name

string, core

(Read-only) The name of the category.

status

enum, core

Indicates if the category is enabled or disabled. If disabled, no notifications are sent for the category.

note

string

Notes related to the category.

recipients

recipients

The recipient of the notification email. To receive a notification, the user must be in the recipients.users or be a part of a group within recipients.userGroups.

Example:

account

object, core

(Read-only) Represents the account object.

category

object, core

(Read-only) Represents the category object.

audit

object

(Read-only) Represents the audit object.

Example

SUBSCRIBER OBJECT
{
	"id": "NTS-1111-2222-1234",
	"href": "/notifications/subscribers/NTS-1111-2222-1234",
	"status": "Enabled",
	"category": {
		"id": "NTC-1234-9876",
		"href": "/v1/notifications/categories/NTC-1234-9876",
		"name": "Orders",
		"shortDescription": "Includes updates about order confirmations, order status updates, and related communications."
	},
	"account": {
		"id": "AC-1111-2222",
		"href": "/accounts/accounts/AC-1111-2222",
		"type": "Client",
		"status": "Active",
		"name": "Agroasemex test copy 2",
		"icon": "/v1/accounts/accounts/AC-1111-2222/icon"
	},
	"recipients": {
		"users": [
			{
				"id": "USR-0000-0001",
				"href": "/accounts/users/USR-0000-0001",
				"name": "Will Smith"
			}
		],
		"userGroups": [
			{
				"id": "UGR-2459-0365",
				"href": "/accounts/user-groups/UGR-2459-0365",
				"name": "Administrators",
				"description": "Manages administrative tasks and resources within an organization.",
				"isDefault": true
			}
		]
	},
	"audit": {
		"created": {
			"at": "2023-12-15T10:17:11.179Z",
			"by": {
				"id": "USR-0000-0001",
				"href": "/accounts/users/USR-0000-0001",
				"name": "Will Smith"
			}
		},
		"updated": {
			"at": "2023-12-15T10:17:11.179Z",
			"by": {
				"id": "USR-0000-0001",
				"href": "/accounts/users/USR-0000-0001",
				"name": "Will Smith"
			}
		}
	}
}

Last updated

Was this helpful?