Utility
Health checks, emoji data, lazy loading, and miscellaneous endpoints
📄️ Get emoji data
Returns the emoji dataset for the emoji picker UI, including all categories and individual emoji data. The dataset can be customized via the `better_messages_get_emoji_dataset` filter. **Public endpoint** — does not require authentication.
📄️ Health check
Simple health check endpoint that returns 'pong' to verify the REST API is responding. **Public endpoint** — does not require authentication.
📄️ Lazy load data
Lazy-loads user profiles and message data by IDs for efficient on-demand data fetching. Used when the client encounters references to users or messages not yet in its local cache. Validates that the current user has access to the thread containing each requested message before returning it. Messages are returned with full formatting, favorite status, and metadata.
📄️ Email unsubscribe
Unsubscribes a user from email notifications using a verification token. The token is generated per-user and included in email notification footers. **Public endpoint** — does not require authentication.
📄️ Get bad words list
Returns the configured bad words block list for client-side content filtering. The bad words feature must be enabled in plugin settings. Used by the frontend to prevent sending messages containing blocked words before they reach the server.