Отримати конфігурацію
Посібник з інтеграції мобільного додатку
Отримати конфігурацію
Повертає специфічну для пристрою конфігурацію ключ/значення, встановлену з веб-панелі.
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.
Приклад запиту
cURL
curl "https://api.rcszilla.com/?endpoint=get_config" \ -H "Authorization: Bearer YOUR-DEVICE-TOKEN"
Відповідь
JSON200 OK
{
"success": true,
"config": {
"retry_limit": "3",
"poll_interval_seconds": "5",
"max_sms_per_minute": "30"
}
}
Common Config Keys
| Key | Опис |
|---|---|
| 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.