Dashboard
Urzadzenia
—
zarejestrowane telefony
Aktywne
—
online urzadzenia
Klienci API
—
aplikacje z tokenem
Ostatni heartbeat
—
aktywnosc urzadzenia
💓 Status telefonow auto-refresh 15s
Ladowanie...
Urzadzenia
📱
Dodaj pierwsze urzadzenie
Zarejestrowane urzadzenia
| ID | Nazwa | Numer | Platforma | Status | Heartbeat | Wersja | Akcje |
|---|
Klienci API
| ID | Nazwa | Status | Send | Read | Rate limit | Utworzony | Akcje |
|---|
Przyklad: wyslij SMS
curl -X POST https://duande.pl/dotacjesms/client/messages/send \
-H "Authorization: Bearer CLIENT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"to_number":"+48500100200","body":"Test"}'
-H "Authorization: Bearer CLIENT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"to_number":"+48500100200","body":"Test"}'
↓ Przychodzace SMS
| ID | Od | Tresc | Status | Czas |
|---|
↑ Wychodzace SMS
| ID | Do | Tresc | Status | Blad | Czas |
|---|
Audit log
Uzytkownicy panelu
| ID | Login | Rola | API Client | Status | Ostatnie logowanie | Akcje |
|---|
Jak to dziala
- Utworz Klienta API w zakladce „Klienci API" (z uprawnieniami).
- Wygeneruj dla niego token — mozna go potem uniewaznic.
- Dodaj uzytkownika panelu z loginem i haslem.
- Przypisz temu uzytkownikowi Klienta API — wtedy dziala bez zadnej dodatkowej konfiguracji.
- Przekaz login + haslo. Uzytkownik loguje sie na
sms.duande.pl/dotacjesms/— widzi wszystkie SMS-y i moze wysylac.
DUANDE SMS Gateway API
Base URL: https://duande.pl/dotacjesms
Health: /health
Trzy poziomy dostepu: Admin (bootstrap token), Client (API token), Device (device token).
Admin endpoints
POST
/admin/devices
Zarejestruj urzadzenie
GET
/admin/devices
Lista urzadzen
POST
/admin/devices/{id}/tokens
Generuj token urzadzenia
POST
/admin/clients
Dodaj klienta API
GET
/admin/clients
Lista klientow
POST
/admin/clients/{id}/tokens
Generuj token klienta
GET
/admin/audit-logs
Historia zdarzen
Client endpoints
POST
/client/messages/send
Wyslij SMS
GET
/client/messages
Lista wiadomosci
GET
/client/threads/{phone}
Watek SMS per numer
GET
/client/devices
Lista urzadzen (klient)
Device endpoints
POST
/device/heartbeat
Heartbeat urzadzenia
GET
/device/commands
Pobierz komendy do wyslania
POST
/device/messages/inbound
Raportuj odebrane SMS
POST
/device/messages/status
Raportuj status wysylki