namespace RaySMSModuleAPIBased
using System.Collections.Generic;
public class RaySMSDllClassAPIBased
public static string message;
public static void Main()
var client = new RestClient("https://api.msg91.com/api/v5/flow/");
var request = new RestRequest(Method.POST);
request.AddHeader("authkey", "234346A6fiWphKf70i5b864f40");
request.AddHeader("content-type", "application/JSON");
request.AddParameter("application/JSON", "{\n \"flow_id\": \"61b86e61b22a3b3c07488b44\",\n \"sender\": \"DHHERB\",\n \"mobiles\": \"917010637648\",\n \"invoice\": \"123\",\n \"amt\": \"456\",\n \"oamt\": \"45645\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);