T.F.
The workplace should be a. professional environment. It is not a place for pranks and jokes.
I do believe "bully" is an overused term. Your reaction to your boss and co-worker is not excusable. That behavior makes you look 10 times worse because you immediately went on the defense instead of taking responsibility for your actions.
I think and apology to all is deserved and a big thank you to your boss for not firing you on the spot.
As a business owner, I would not tolerate that behavior in my office if I had employees. Employees are paid to be professional and productive. Of course there is room for being social but pranks are not social in my opinion. Some pranks are mean. What if you messed with someone's chair, they fell and were injured? Not too funny and the company would then be liable for medical care for that employee.
I think you're lucky you were not fired. Suck it up, take responsibility for your actions without making excuses.