Récupérer les paramètres de notification solde
Cette méthode vous permet de récupérer votre configuration de notification.
GET
/notification/balance
Exemples
GET /notification/balance HTTP/1.1
Host: api.smsfactor.com
Authorization: Bearer your.token
Accept: application/json
Format de la réponse
{
"status": 1,
"message": "OK",
"notification": {
"alert_email": "1",
"alert_gsm": "1",
"email": "[email protected]",
"phone_number": "33612345678",
"gsm": "33612345678",
"alert_trigger": "700"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>1</status>
<message>OK</message>
<notification>
<alert_email>1</alert_email>
<alert_gsm>1</alert_gsm>
<email>[email protected]</email>
<phone_number>33612345678</phone_number>
<gsm>33612345678</gsm>
<alert_trigger>700</alert_trigger>
</notification>