Added timestamp to API requests

API requests are now including the event's timestamp, making it possible
to process old events as well.