Officer Gena Pena told the Corpus Christi Caller-Times that the contractor, who was not identified, was working on the ATM around 2 p.m., on the 400 block of North Mesquite Street, when he accidentally locked himself inside.
A customer called police, who were able to kick down the door to rescue the man, the Caller-Times reported.
Senior officer Richard Olden called the incident “a once-in-a-lifetime situation that you will probably never see or hear again” in an interview with KRIS.
"We come out here, and sure enough we can hear a little voice coming from the machine. So we are thinking this is a joke. It's got to be a joke," Olden told the news station. "Everyone is okay, but you will never see this in your life, that somebody was stuck in the ATM, it was just crazy."