//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 integreren via onze SMS API. Hiermee kan je jouw software verbinden met onze SMS gateway om Bulk SMS berichten te versturen en ontvangen. Gratis testaccount. Start direct!
5 van de 5 op basis van 2785 gebruikersbeoordelingen.
SMSGATEWAYAPIAPI1
REGISTREER NU
Probeer onze geavanceerde SMS software & API vandaag!