Deprecated: MysqliDb::insertMulti(): Implicitly marking parameter $dataKeys as nullable is deprecated, the explicit nullable type must be used instead in /www/wwwroot/worldx.buzz/core/libs/DB/vendor/thingengineer/mysqli-database-class/MysqliDb.php on line 829
ColibriSM API - Documentation

Follow & Unfollow user

Please use this (https://worldx.buzz/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/Un​followed 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": []
    }