← All routes

Login

/login

Authenticates a member against the Blackout Rugby API and returns a member key for subsequent authenticated requests.

Endpoints

POST/login

Authenticate with username and password. Returns a member key used as x-access-key for protected endpoints.

Body: username (string, required), password (string, required)

Blackout Rugby API call: https://blackoutrugby.magicrunez.com/?r=lgn&username=...&password=...

Example response:

{"data":{"status":"Ok","key":"m=2&mk=63e68fea...","memberid":"2","teamid":"2","main_teamid":"2","teams":["2","57630"]}}