Retrieve Usage Stats
GEThttps://api.mailchannels.net/tx/v1/usage
Retrieves usage statistics during the current billing period.
Request
Responses
- 200
- 500
Successfully returned the usage stats.
Internal Server Error
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.mailchannels.net/tx/v1/usage");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear