var url = "https://api.smsgatewayapi.com/v1/groups/{ID}";
var client = new RestClient(url);
client.Timeout = -1;
var request = new RestRequest(Method.DELETE);
request.AddHeader("X-Client-Id", "XXX"); // Your API key
request.AddHeader("X-Client-Secret", "YYY"); // Your API secret
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
Normal response:
Normal response: http status code 204 (No content).
Invalid response:
Response when ID doesn’t exist: http status code 404 (Not Found).
SMS API
Smstools
With our SMS gateway API you can add text messaging to your platform in minutes. Free trial.
5 out of 5 based on 1816 user ratings.
SMSGATEWAYAPIAPI1
REGISTER NOW
Discover our text message marketing platform today!