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
Update user details
Endpoint
PUT
/api/v1/users/{msid}
Url path variables
Possible values |
Comments |
msid |
The msid value of the user to be edited. |
Body parameters
Name |
Type |
Req? |
Comments |
first_name |
string |
Y |
|
middle_name |
string |
N |
|
last_name |
boolean |
N |
|
username |
integer |
N |
case-insensitive value. Can not have spaces or special characters except _ . |
user_avatar |
string |
N |
Url value |
lang |
string |
N |
Default is en . Please follow this format |
timezone |
string |
N |
Default is UTC . Supported list |
user_description |
String |
N |
Can accept HTML. |
banner |
String |
N |
Url of the user banner image. |
social_media_links |
object |
N |
|
key |
type |
Req? |
Comments |
Twitter |
url |
N |
Link to your twitter profile |
Linkedin |
url |
N |
Your LinkedIn profile url. |
Response parameters
{
"user_id": 177,
"sid": "TwM0e5z2gGE7VyDcY5c6ZeObphM",
"msid": "177.TwM0e5z2gGE7VyDcY5c6ZeObphM",
"username": "Maryam5",
"user_avatar": "http://placeimg.com/640/480/nature",
"first_name": "Ayana",
"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
}