RCSZilla Versão 1.0

Obter Configuração

Guia de Integração do Aplicativo Móvel

Obter Configuração

GET /?endpoint=get_config

Retorna a configuração chave/valor específica do dispositivo definida no painel web (por exemplo, limites de novas tentativas, feature flags).

*
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.

Exemplo de Requisição

cURL
curl "https://api.rcszilla.com/?endpoint=get_config" \
  -H "Authorization: Bearer YOUR-DEVICE-TOKEN"

Resposta

JSON200 OK
{
  "success": true,
  "config": {
    "retry_limit": "3",
    "poll_interval_seconds": "5",
    "max_sms_per_minute": "30"
  }
}

Common Config Keys

KeyDescrição
retry_limitMax number of retry attempts before a message is permanently failed.
poll_interval_secondsRecommended polling interval in seconds.
max_sms_per_minuteRate 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.