Skip to main content

TopicSubscriptionResult

Result of a topic subscription operation (add/remove subscribers). Novu returns partial success — some subscribers may fail while others succeed.

Usage profiles​

UsageFields and validation
In responsesView fields

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
totalCountinteger (int32)OptionalTotal number of matching entries reported by the operation. Minimum: -2147483648. Maximum: 2147483647.
successfulinteger (int32)OptionalNumber of subscribers accepted by the topic subscription operation. Minimum: -2147483648. Maximum: 2147483647.
failedinteger (int32)OptionalNumber of subscribers rejected by the topic subscription operation. Minimum: -2147483648. Maximum: 2147483647.
errorsArray of TopicSubscriptionErrorOptionalErrors reported while processing notification requests.

Where used​

ReferenceRelationship
Add subscribers to a topicPOST /api/v1/notifications/manage/add-subscribers-to-topic
Remove subscribers from a topicPOST /api/v1/notifications/manage/remove-subscribers-from-topic

Download the public reference contract.

Document: DOC-API-MODEL-topic-subscription-result.