ColibriSM - API
  • Get started
  • Login
  • Social login
  • Signup
  • Reset password
  • Timeline feed
  • Profile data (2)
  • Report profile
  • Block user
  • Notification token
  • Change password
  • Refresh access token
  • Logout user
  • Verify user
  • Post & Reply (4)
  • Vote polls
  • Create swift (7)
  • Thread data (2)
  • Like / Unlike
  • Report post
  • Repost post
  • Bookmarks (2)
  • Post likes
  • Delete post
  • Search hashtags
  • Search people
  • Search posts
  • Pin post to profile
  • Update profile data
  • Avatar & Cover (3)
  • User privacy (2)
  • Follow & Unfollow
  • Fetch following
  • Fetch followers
  • Follow requests (3)
  • Get notifications
  • Delete notifications
  • Messaging (6)
  • Delete account
  • Change language
Fetch requests - 1 Approve - 2 Delete - 3

Fetch follow requests

Please use this (https://yumility.com/mobile_api/follow_requests) API for accessing endpoint of user (follow requests) list


Get parameters

Field Value Remarks
offset Last user offset ID This is only needed when loading users of the pagination system.
session_id ​Access token ID (Optional) E.g. de25cc16eb00960f076...
page_size ​Total users limit for each request Recommended: 20

Success response

{
        "code": 200,
        "message": "Follow requiests fetched successfully",
        "data": [
            {
                "offset_id": 43,
                "id": 18,
                "about": "",
                "posts": 1,
                "avatar": "http://colibri.loc/upload/avatars/xxx/xxx/rddNMSoS6S7cEgHO49Ch_20_45...b8_thumbnail_512x512.jpg",
                "last_active": "21 Jun, 21 02:06 PM",
                "username": "@john_smith",
                "fname": "John",
                "lname": "Smith",
                "email": "[email protected]",
                "verified": "0",
                "name": "John Smith",
                "url": "http://colibri.loc/@john_smith",
                "pending_req": true
            },
            {...}
        ]
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
        "code": 204,
        "message": "No data found",
        "data": []
    }
    

Approve follow requests

Please use this (https://yumility.com/mobile_api/accept_follow) API for accessing endpoint of user (follow requests) accepting


Post parameters

Field Value Remarks
session_id ​Access token ID (Optional) E.g. de25cc16eb00960f076...
req_id ​Follow request int ID E.g. 34

Success response

{
        "message": "Subscription request successfully accepted",
        "code": 200,
        "data": {
            "total": 0
        }
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
        "code": 400,
        "message": "Follow request ID is missing or invalid",
        "data": []
    }
    

Delete follow requests

Please use this (https://yumility.com/mobile_api/ignore_follow) API for accessing endpoint of user (follow requests) deleting. I.e. Ignoring requests


Post parameters

Field Value Remarks
session_id ​Access token ID (Optional) E.g. de25cc16eb00960f076...
req_id ​Follow request int ID E.g. 34

Success response

{
        "message": "Subscription request successfully deleted",
        "code": 200,
        "data": {
            "total": 0
        }
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
        "code": 400,
        "message": "Follow request ID is missing or invalid",
        "data": []
    }