FoursquareLocation-based social network Foursquare is planning to release its API for push notifications to the public later today, reports BetaBeat.

The push notification API, which Foursquare first announced at its hackathon event in March, allows developers to build apps that will automatically send users short messages based on their location.

So for example, developers could create an app using the new API that sends you a notification to pick up your shirts when driving past the dry cleaner, or an app that sends you a notification when a friend is at the coffee shop near you.

According to the report, Foursquare engineer Zack Sheppard indicated that the company was working hard to get the API ready for its beta launch and apologized for the large number of updates.

The news comes just days before Foursquare holds its round-the-clock-round-the-world hackathon event  in New York City, San Francisco, Tokyo and Paris.