Resubscribe

var client = new RestClient("https://api.messageflow.com/v2.1/contact/resubscribe/%7Bchannel%7D");
var request = new RestRequest(Method.POST);
request.AddHeader("content-type", "application/json");
request.AddHeader("authorization", "REPLACE_KEY_VALUE");
request.AddParameter("application/json", "{\"id\":[1]}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);

Last updated