Admin Notifications
Internal Admin Endpoints
Admin Notifications
Internal-only notification campaign endpoints for Retool and ops tooling
POST
Admin Notifications
These endpoints let internal tools request Novu workflow sends without owning
audience logic. Retool passes a
Targets:
Rebuilds or previews a system topic from Glider DB.
workflowId, a bounded JSON payload, and a
target; platform-api resolves canonical Glider user IDs and reconciles Novu
topics before delivery. Manual Novu-managed topics are allowlisted by the API
but their membership is maintained outside platform-api.
Auth
All routes are protected by a scoped notifications admin token:Authorization: Bearer <RETOOL_NOTIFICATIONS_ADMIN_TOKEN>Content-Type: application/jsonforPOSTroutes
ADMIN_AUTH_SECRET_TOKEN is also accepted for internal engineer/admin usage,
but Retool should use the scoped notifications token.
List Topics
GET /v1/admin/notifications/topics
Returns the approved system topic catalog for Retool dropdowns:
Send Notification
POST /v1/admin/notifications/send
{ "type": "userIds", "userIds": ["usr_123"] }{ "type": "topic", "topicKey": "glider:users:depositors:funded" }{ "type": "topic", "topicKey": "custom:users:power-users" }
glider:users:* topic sends, platform-api resolves the
current DB audience, ensures those canonical user IDs exist as Novu subscribers,
updates topic membership, and only then triggers the Novu workflow to the topic.
For manual custom:* topic sends, platform-api skips membership reconciliation
and only triggers the Novu workflow to the existing topic subscribers.
Reconcile Topic
POST /v1/admin/notifications/topics/:topicKey/reconcile
dryRun: true resolves and
diffs membership without mutating Novu subscriptions or triggering a workflow.
Manual topics are accepted by this endpoint but do not reconcile membership.