//PowerShell - RestMethod
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("X-Client-Id", "XXX") // Your API key
$headers.Add("X-Client-Secret", "YYY") // Your API secret
$body = '{
}'
$response = Invoke-RestMethod 'https://api.smsgatewayapi.com/v1/statistics' -Method 'GET' -Headers $headers -Body $body -ContentType “application/json; charset=utf-8”
$response | ConvertTo-Json
//Shell - wget
wget --no-check-certificate --quiet \
--method GET \
--timeout=0 \
--header 'X-Client-Id: XXX' \ // Your API key
--header 'X-Client-Secret: YYY' \ // Your API secret
--header 'Content-Type: application/json' \
--body-data '{
}' \
'https://api.smsgatewayapi.com/v1/statistics'
Example success response:
{
"sent": 100,
"received": 10,
}
SMS gateway API
Smstools
SMS gateway integreren via onze SMS API. Hiermee kan je jouw software verbinden met onze SMS gateway om SMS berichten te versturen en ontvangen. Gratis testaccount. Start direct!
5 van de 5 op basis van 2768 gebruikersbeoordelingen.
SMSGATEWAYAPIAPI1
REGISTREER NU
Probeer onze geavanceerde SMS software & API vandaag!