πŸ“Έ Social Media

Follow or unfollow user

The API endpoint allows users to follow or unfollow other users within the application.

When accessing this endpoint, users can choose to follow or unfollow a specific user, thereby establishing or severing a connection between their accounts.

post/social-media/follow/{toBeFollowedUserId}

Request

Response

Follow or unfollow user

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "following": true
  },
  "message": "Followed successfully",
  "statusCode": 200,
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.