Publishing
External notification creation and publishing (Processor service)
Creates and stores new notifications. This endpoint is used by external services to publish notifications to users. Notifications are validated, stored in the database, and if the user has email notifications enabled, an email is sent. Available only in the Processor service.
Bearer token authentication using a shared API key (NOTIFICATION_SERVICE_TOKEN).
Used for service-to-service communication and external notification publishing.
Example:
Authorization: Bearer <api-key>
Notification type (must be a valid NotificationType enum value)
worlds_access_restoredEthereum address of the recipient user
^0x[a-fA-F0-9]{40}$Unique identifier for this event (used for deduplication)
0xf17828d89d6056215d65451fc61a802f5054fa01aa0acc39b644dc191086dd8bUnix timestamp in milliseconds when the event occurred (must be after 2023-01-01)
1701379983000Notifications published successfully
Invalid request body or validation error
Unauthorized - missing or invalid API key
No content
Last updated