HumHub - Auth API (1.0.0)

Download OpenAPI specification:Download

E-mail: info@humhub.com License: AGPLv2

Welcome to the HumHub auth module API reference.

Authentication

Login in the application

Request Body schema: application/json

Credentials for login in app

username
required
string

Your username or email address

password
required
string

Responses

200

Success

400

Bad request

post /auth/login
/api/v1/auth/login

Request samples

application/json
Copy
Expand all Collapse all
{
  • "username": "username@example.com",
  • "password": "password"
}

Response samples

Copy
Expand all Collapse all
{
  • "code": 200,
  • "message": "string",
  • "auth_token": "eyJ0eXAiOiJKV1QiLC .... tE_7_rLSX3vA",
  • "expired_at": "string"
}