Add event connected to api