Skip to main content
Section ID: DOC-API-MODEL-schema-p2eb0gb1ln#overview

TopicSubscriptionResult

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

Meaning and usage​

Section ID: DOC-API-MODEL-schema-p2eb0gb1ln#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-p2eb0gb1ln#fields

UsageFields and validation
In responsesView fields

In responses​

Section ID: DOC-API-MODEL-schema-p2eb0gb1ln#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-p2eb0gb1ln#field-totalcountSection ID: DOC-API-MODEL-schema-p2eb0gb1ln#response-field-totalcounttotalCountstring (int64)OptionalTotal number of subscribers reported for the membership-change result. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-p2eb0gb1ln#field-successfulSection ID: DOC-API-MODEL-schema-p2eb0gb1ln#response-field-successfulsuccessfulstring (int64)OptionalNumber of subscribers accepted by the topic subscription operation. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-p2eb0gb1ln#field-failedSection ID: DOC-API-MODEL-schema-p2eb0gb1ln#response-field-failedfailedstring (int64)OptionalNumber of subscribers rejected by the topic subscription operation. Pattern: ^-?\d+$.
Section ID: DOC-API-MODEL-schema-p2eb0gb1ln#field-errorsSection ID: DOC-API-MODEL-schema-p2eb0gb1ln#response-field-errorserrorsArray of TopicSubscriptionErrorOptionalErrors reported while processing notification requests.

Where used​

Section ID: DOC-API-MODEL-schema-p2eb0gb1ln#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 ID: DOC-API-MODEL-schema-p2eb0gb1ln