public CoreResponse CreateMessage(MessageCreateRequest request)
        {
            // sign the request
            request.SignRequest(ProjectCode, ProjectApiSecret);

            string url = String.Format("{0}/events", api_endpoint);

            return(new CoreResponse(Helpers.GetApiResponse(url, "POST", JObject.FromObject(request))));
        }
        public CoreResponse CreateMessage(MessageCreateRequest request)
        {
            // sign the request
            request.SignRequest(ProjectCode, ProjectApiSecret);

            string url = String.Format("{0}/events", api_endpoint);
            return new CoreResponse(Helpers.GetApiResponse(url, "POST", JObject.FromObject(request)));
        }