Create events API call is working