ActivateSubscriber
Activate an inactive subscriber. Only applicable to the subscriber that is deactivated either through the API or manually.
URL | https://api.enginemailer.com/restapi/subscriber/emsubscriber/activateSubscriber?{email} |
Method | HTTP POST with Query String |
Request Example
Header
<APIKEY> - Value
Response
Success Response
{
"Result":{
"Status":"OK",
"StatusCode":"200"
}
}
Failed Response
{
"Result":{
"StatusCode":"500",
"Status":"InternalServerError",
"ErrorMessage":"Authentication Failed!"
}
}
Code Example (.NET)
var client = new RestClient("http://api.enginemailer.com/RESTAPI/subscriber/emsubscriber/activateSubscriber?email=example@enginemailer.com");
var request = new RestRequest(Method.POST);
request.AddHeader("APIKey", "<>");
var response = client.Execute(request).Content;
var response2 = JObject.Parse(response);