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

Details about self

Endpoint

GET /api/v1/users/me

Response parameters

{
  "user_id": 200,
  "username": "string",
  "user_avatar": "string",
  "first_name": "string",
  "last_name": "string",
  "middle_name": "string",
  "sid": "string",
  "role_id": 0,
  "is_bot": true,
  "user_status": "string",
  "email": "string",
  "msid": "string",
  "created_at": "2022-03-23T05:23:19.845Z",
  "last_modified_at": "2022-03-23T05:23:19.845Z"
}

Options for ‘user_status’

Possible values ENUM Comments
0 INACTIVE  
4 WAITLIST User is has joined your wait-list
5 INVITED  
6 UNVERIFIED  
10 ACTIVE  
-3 BANNED  
-100 DELETED  


Additional Notes

Some endpoint params might need msid value of the user. This value can be constructed from the user details. The format is user_id.sid
Example: if user_id is 500 and sid is MN88KMZ6KxvEAqOsrp26G then the value of msid is 500.MN88KMZ6KxvEAqOsrp26G