Ottieni configurazione
Guida all'integrazione dell'app mobile
Ottieni configurazione
Restituisce la configurazione chiave/valore specifica del dispositivo impostata dal pannello web.
The
poll endpoint returns config in every response, so a separate get_config call is only needed on first launch or after a token change.
Esempio di richiesta
cURL
curl "https://api.rcszilla.com/?endpoint=get_config" \ -H "Authorization: Bearer YOUR-DEVICE-TOKEN"
Risposta
JSON200 OK
{
"success": true,
"config": {
"retry_limit": "3",
"poll_interval_seconds": "5",
"max_sms_per_minute": "30"
}
}
Common Config Keys
| Key | Descrizione |
|---|---|
| retry_limit | Max number of retry attempts before a message is permanently failed. |
| poll_interval_seconds | Recommended polling interval in seconds. |
| max_sms_per_minute | Rate limit �max messages to send per minute. |
Config keys are set by the admin per-device from the Devices �Config screen in the web panel.