Follow & Unfollow user
Please use this (https://vavee.com/mobile_api/follow) API for access (follow/unfollow) user endpoint
Post parameters
Field | Value | Remarks |
---|---|---|
session_id | Access token ID | E.g. de25cc16eb00960f076... |
user_id | Followed/Unfollowed user int ID | E.g. 4567 |
Success response
{
"code": 200,
"message": "Subscribed successfully",
"data":{
"follow": true
}
}
{
"code": 200,
"message": "Subscription canceled successfully",
"data":{
"follow": false
}
}
{
"code": 201,
"message": "Subscription request sent successfully",
"data":{
"follow": false
}
}
Error responses
{
"code": 401,
"data": [],
"message": "Unauthorized Access"
}
{
"code": 400,
"message": "User ID is missing or invalid",
"data": []
}