This section provides documentation for the NexWrite API.
Welcome
The NexWrite API allows you to programmatically access and manage blog posts, user accounts, authentication, and settings. This section outlines how to authenticate and start using the available endpoints.Authentication
All API endpoints require Bearer token authentication. After signing in, the server returns a JWT token which must be included in theAuthorization header for any protected request.
How to Get a Token
Send a POST request to:Authorization header:
/api/posts, /api/users, /api/settings, etc.
The token is automatically stored and used in the frontend after login.

