Get Privacy settings
Please use this (https://tibita.com.br/mobile_api/get_priv_settings) API for accessing the endpoint of user privacy settings
Get parameters
Field | Value | Remarks |
---|---|---|
session_id | Access token ID | E.g. de25cc16eb00960f076... |
Success response
{
"code": 200,
"message": "",
"data":{
"profile_visibility": "everyone",
"contact_privacy": "everyone",
"follow_privacy": "everyone",
"search_visibility": true
}
}
Error responses
{
"code": 401,
"data": [],
"message": "Unauthorized Access"
}
Change Privacy settingss
Please use this (https://tibita.com.br/mobile_api/set_priv_settings) API for accessing the endpoint of changing user privacy settings
Post parameters
Field | Value | Remarks |
---|---|---|
session_id | Access token ID | E.g. de25cc16eb00960f076... |
profile_visibility | Profile access privacy | E.g. One of these options (followers/everyone) |
contact_privacy | Direct message privacy | E.g. One of these options (followed/everyone) |
follow_privacy | Follow request privacy | E.g. One of these options (approved/everyone) |
search_visibility | Profile search indexing privacy | E.g. One of these options (Y/N) |
Success response
{
"code": 200,
"message": "User privacy settings updated",
"data": []
}
Error responses
{
"code": 401,
"data": [],
"message": "Unauthorized Access"
}
{
"code": 400,
"data": [],
"message": "Invalid request data"
}