Introduction

We are listing the available API endpoints for habitate.io. These can be used to build additional feature and create linked services around your community.

In case you need more help you can get in touch with the team, developer-support at habitate.io

Get user details

Endpoint

GET /api/v1/users/{msid}

Url path variables

Possible values Comments
msid The msid value of the user. user_id can also be used if the LIST permission is granted.
{
    "user_id": 177,
    "sid": "TwM0e5z2gGE7VyDcY5c6ZeObphM",
    "msid": "177.TwM0e5z2gGE7VyDcY5c6ZeObphM",
    "username": "Joshuah_Frami",
    "user_avatar": "http://placeimg.com/640/480/nature",
    "first_name": "Dovie",
    "email": "Josiane.Baumbach@example.com",
    "role_id": 2,
    "is_bot": false,
    "user_status": 10,
    "created_at": "2022-04-05T01:15:57Z",
    "user_description": "",
    "meta": {},
    "login_count": 0,
    "post_count": 0,
    "comment_count": 0,
    "reply_count": 0
}

Understanding user_status values

Value comments
10 ACTIVE
6 UNVERIFIED
5 INVITED
4 WAITLIST
0 INACTIVE
-3 BANNED
-100 DELETED