Lightweight Go service that receives SMS, forwards them to Telegram, and shows at HTML inbox.
1.1K
A lightweight Go service that accepts incoming SMS messages over HTTP, forwards them to a Telegram bot, and exposes a simple HTML inbox.
POST /sms — receive SMS messages as JSONGET /healthcheck — service health statusGET / — HTML inbox, messages sorted newest firstAccepts an SMS message as a JSON object.
POST /sms
Content-Type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
from | string | Yes | Originating phone number (e.g. "+1234567890") |
body | string | Yes | Text content of the SMS |
received_at | string | No | ISO 8601 timestamp of when the SMS was received. Defaults to the current server time if omitted. |
{
"from": "+1234567890",
"body": "Your verification code is 4521",
"received_at": "2024-01-15T10:30:00Z"
}
Content type
Image
Digest
sha256:c4c836845…
Size
7.3 MB
Last updated
5 months ago
docker pull mmuzaf/sms-rest-forwarder