Trigger

var client = new RestClient("https://api.messageflow.com/v2.1/scenario/trigger");
var request = new RestRequest(Method.POST);
request.AddHeader("content-type", "application/json");
request.AddHeader("authorization", "REPLACE_KEY_VALUE");
request.AddParameter("application/json", "{\"scenarioId\":\"XXXXXX-XXXXX-XXXXX-XXXXX\",\"recipientEmail\":\"test@test.pl\",\"recipientMobileNumber\":\"string\"}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);

Last updated