Endpoints

Authentication

Nexus now supports user authentication using JSON Web Tokens (JWT).

Nexus now supports user authentication using JSON Web Tokens (JWT).

Sign Up

  • POST /signup
  • Body:
    {
      "username": "newuser",
      "password": "securepassword"
    }
    
  • Response: Returns a success message

Sign In

  • POST /signin
  • Body:
    {
      "username": "existinguser",
      "password": "correctpassword"
    }
    
  • Response: Returns a JWT token to be used for authenticated requests

Using Authentication

For authenticated endpoints, include the JWT token in the Authorization header:

Authorization: Bearer your_jwt_token_here
Copyright © 2026