View Remaining Credits
Use this endpoint to view the remaining credits against your account
Endpoint
[GET] https://usenotifier.com/api/creditsExample Request
$response = Http::withToken('YOUR_API_KEY')
->post('https://usenotifier.com/api/sms/credits');$client = new Client();
$headers = [
'Authorization' => 'Bearer YOUR-API-KEY'
];
$request = new Request('GET', 'https://usenotifier.com/api/credits', $headers);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();curl --location --request GET 'https://usenotifier.com/api/credits' \
--header 'Authorization: Bearer YOUR-API-KEY'var client = new RestClient("https://usenotifier.com/api/credits");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer YOUR-API-KEY");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);Example Response
{
"credits": 123
}Last updated
Was this helpful?