Login
API endpoints
- POST login
Authenticates user credentials and provides an
Authorization
header.- Request encryption
Anonymous
- Request JSON Object
acct (string) – The user’s account name.
password (string) – The user’s password, hashed with SHA-256.
- Response Headers
Authorization – An authentication header to be used in future API requests.
Example request
{ "acct": "user@example.org", "password": "766ef939879dc062af1cfe7bfc46f1af99a40a3926f185aee4b0801e34697c70" }
Example response
{ "cod": 200, "msg": "success" }