The England international, 23, was interviewed by Irish police over an incident that allegedly occurred on Sunday night.
West Ham's players were in Dublin for their Christmas party and were also celebrating their 3-1 Premier League win over Chelsea on Saturday.
West Ham statement: "Andy Carroll was in Dublin as part of a social trip with full permission of the management team.
"Andy agreed to have a number of pictures taken at the request of a photographer who was waiting on the street.
"Despite this, the photographer then carried on taking photos in the close proximity of Andy and was politely asked to stop by the private security team working on the trip.
"When he then continued taking more photos he was restrained by the security team for Andy's safety.
"Eyewitnesses state at no point was there any physical contact between Andy and the photographer."