A joke that is understood or meant to be understood only by certain people who are aware of the details.
Synonym of inside joke (“a joke that is understood or meant to be understood only by certain people who are aware of the details”)