I had an accident.
I have been in an accident.
Although the first sentence seems more common, today I have come across the second sentence and got suprised.
I checked online and saw it frequently used for cars (eg. how to understand if a car has been in an accident)
So, do both sentences have the same meaning?