var options = new RestClientOptions("https://api.wsapi.chat/account/subscriptions/{id}/instances"); var client = new RestClient(options); var request = new RestRequest(""); request.AddHeader("X-Api-Key", "<api-key>"); var response = await client.PostAsync(request);
var options = new RestClientOptions("https://api.wsapi.chat/account/subscriptions/{id}/instances"); var client = new RestClient(options); var request = new RestRequest(""); request.AddHeader("X-Api-Key", "<api-key>"); var response = await client.PostAsync(request);