subscribeContactToCategory( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Subscribes a contact to a specific forum category.

By default a contact isn't subscribed to any forum categories.

By subscribing a contact to a category, the contact receives notifications for that category.

If contactId is not provided, it is implicitly resolved from the caller's context.

Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Forums
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
categoryIdstringRequired

Category ID.


optionsSubscribeContactToCategoryOptions

Options for subscribing the contact.

Was this helpful?
Yes
No