yes, the threaded ends of those mounting studs

are you saying the 'pins' are part of the shock or part of the truck? the shocks should have eyes on each end that fit on studs that are part of the upper and lower mounts - the studs have threaded ends that take a large flat washer and lock nut .... those threaded ends are commonly snapped off trying to get seized nuts off, and then you need to get the remainder off and replace with a properly sized grade 8 bolt, although some new shocks will come with mounting bolts [Monroe 3100 or Gabriel 82047]
Bill