Download OpenAPI specification:Download
Welcome to the HumHub auth module API reference.
Credentials for login in app
username required | string Your username or email address |
password required | string |
{- "username": "username@example.com",
- "password": "password"
}
{- "code": 200,
- "message": "string",
- "auth_token": "eyJ0eXAiOiJKV1QiLC .... tE_7_rLSX3vA",
- "expired_at": "string"
}
{- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "display_name": "John Doe",
- "account": {
- "id": 14,
- "guid": "cd081891-d2e2-40d5-84a4-b47309e71c80",
- "username": "john.doe",
- "email": "john.doe@example.com",
- "visibility": 0,
- "status": 1,
- "tags": [
- "Administration",
- "Support",
- "HumHub"
], - "language": "DE",
- "time_zone": "Europe/Paris",
- "contentcontainer_id": 5,
- "authclient": "local",
- "authclient_id": "0123456789",
- "last_login": "2023-09-11 08:46:40"
}, - "profile": {
- "firstname": "John",
- "lastname": "Doe",
- "title": "Test user",
- "gender": "male",
- "street": "New Street 5",
- "zip": 80331,
- "city": "Munich",
- "country": "DE (ISO 3166 code)",
- "state": "string",
- "birthday_hide_year": 0,
- "birthday": "1990-01-01",
- "about": "string",
- "phone_private": "string",
- "phone_work": "string",
- "mobile": "string",
- "fax": "string",
- "im_skype": "string",
- "im_xmpp": "string",
- "url": "string",
- "url_facebook": "string",
- "url_linkedin": "string",
- "url_xing": "string",
- "url_youtube": "string",
- "url_vimeo": "string",
- "url_flickr": "string",
- "url_myspace": "string",
- "url_twitter": "string",
- "image_url": "string",
- "banner_url": "string"
}
}
id of user to Impersonate
userId required | integer id of user to Impersonate |
{- "userId": 1
}
{- "token": "impersonated-YvyEVcbzCvg0wLjb9yXylj1bkbotlCwkKjNKTZD9xMO86o1G-V9p-wklm5pUdXhdkSGj5dk-l",
- "expires": 1681671865
}