//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/outbox/{ID}' -Method 'DELETE' -Headers $headers -Body $body -ContentType “application/json; charset=utf-8”
$response | ConvertTo-Json
//Shell - wget
wget --no-check-certificate --quiet \
--method DELETE \
--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/outbox/{ID}'
Response:
Response when ID doesn’t exist: http status code 404 (Not Found).
SMS gateway API
Smstools
Bulk SMS gateway API. Met onze Bulk SMS API kunt u uw eigen software verbinden met onze SMS gateway om SMS berichten te versturen en ontvangen. Maak uw gratis testaccount en start direct!
5 van de 5 op basis van 2784 gebruikersbeoordelingen.
SMSGATEWAYAPIAPI1
REGISTREER NU
Probeer onze geavanceerde SMS software & API vandaag!