{"id":44322221,"url":"https://github.com/bogkonstantin/android_income_sms_gateway_webhook","last_synced_at":"2026-02-11T06:36:12.731Z","repository":{"id":39832891,"uuid":"250165694","full_name":"bogkonstantin/android_income_sms_gateway_webhook","owner":"bogkonstantin","description":"Simple Android incoming SMS to URL forwarder","archived":false,"fork":false,"pushed_at":"2025-07-16T11:19:14.000Z","size":2204,"stargazers_count":476,"open_issues_count":33,"forks_count":132,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-07-17T15:19:36.237Z","etag":null,"topics":["android","incoming-sms-gateway","sms","sms-forwarder","webhook"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bogkonstantin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-26T05:02:12.000Z","updated_at":"2025-07-16T11:19:17.000Z","dependencies_parsed_at":"2025-05-13T09:01:43.327Z","dependency_job_id":null,"html_url":"https://github.com/bogkonstantin/android_income_sms_gateway_webhook","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/bogkonstantin/android_income_sms_gateway_webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogkonstantin%2Fandroid_income_sms_gateway_webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogkonstantin%2Fandroid_income_sms_gateway_webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogkonstantin%2Fandroid_income_sms_gateway_webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogkonstantin%2Fandroid_income_sms_gateway_webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bogkonstantin","download_url":"https://codeload.github.com/bogkonstantin/android_income_sms_gateway_webhook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bogkonstantin%2Fandroid_income_sms_gateway_webhook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29328273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","incoming-sms-gateway","sms","sms-forwarder","webhook"],"created_at":"2026-02-11T06:36:12.429Z","updated_at":"2026-02-11T06:36:12.720Z","avatar_url":"https://github.com/bogkonstantin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Incoming SMS to URL forwarder\n\nThis is a free, open-source Android app that automatically forwards incoming SMS messages to a specified URL as JSON via HTTP POST.\n* Forward SMS from specific numbers or all senders.\n* Retries failed requests with exponential backoff.\n* Includes sender, message, timestamp, SIM slot, and more.\n* Forward messages directly to Telegram bots or channels.\n* Built-in test message sender and error log viewer.\n* No cloud services or user registration required.\n\n## Help Improve This Project\n\nIf you've used or tested it, please take a minute to fill out [this short survey](https://forms.gle/c5YY7C81X33VjxyZ8) – it helps me understand real-world usage and prioritize new features. Thank you!\n\n## Download apk\n\nDownload apk from [release page](https://github.com/bogkonstantin/android_income_sms_gateway_webhook/releases)\n\nOr download it from F-Droid\n\n[\u003cimg src=\"https://fdroid.gitlab.io/artwork/badge/get-it-on.png\"\n     alt=\"Get it on F-Droid\"\n     height=\"80\"\u003e](https://f-droid.org/packages/tech.bogomolov.incomingsmsgateway/)\n\n## How to use\n\nSet up App Permissions for you phone after installation. For example, enable \"Autostart\" if needed\nand \"Display pop-up windows while running in the background\" from Xiaomi devices.\n\nSet sender phone number or name and URL. It should match the number or name you see in the SMS messenger app. \nIf you want to send any SMS to URL, use * (asterisk symbol) as a name.  \n\nEvery incoming SMS will be sent immediately to the provided URL.\nIf the response code is not 2XX or the request ended with a connection error, the app will try to\nsend again up to 10 times (can be changed in parameters).\nMinimum first retry will be after 10 seconds, later wait time will increase exponentially.\nIf the phone is not connected to the internet, the app will wait for the connection before the next\nattempt.  \n\nIf at least one Forwarding config is created and all needed permissions granted - you should see F\nicon in the status bar, means the app is listening for the SMS.\n\nPress the Test button to make a test request to the server.\n\nPress the Syslog button to view errors stored in the Logcat.\n\n### Request info\nHTTP method: POST  \nContent-type: application/json; charset=utf-8  \n\nSample payload:  \n```json\n{\n     \"from\": \"%from%\",\n     \"text\": \"%text%\",\n     \"sentStamp\": \"%sentStamp%\",\n     \"receivedStamp\": \"%receivedStamp%\",\n     \"sim\": \"%sim%\"\n}\n```\n\nAvailable placeholders:\n%from%\n%text%\n%sentStamp%\n%receivedStamp%\n%sim%\n\n### Request example\nUse this curl sample request to prepare your backend code\n```bash\ncurl -X 'POST' 'https://yourwebsite.com/path' \\\n     -H 'content-type: application/json; charset=utf-8' \\\n     -d $'{\"from\":\"1234567890\",\"text\":\"Test\"}'\n```\n\n### Send SMS to the Telegram\n\n1. Create Telegram bot and channel to receive messages. [There](https://bogomolov.tech/Telegram-notification-on-SSH-login/) is short tutorial how to do that.  \n2. Add new forwarding configuration in the app using this parameters:\n   1. Any sender you need, * - on the screenshot\n   2. Webhook URL - `https://api.telegram.org/bot\u003cYourBOTToken\u003e/sendMessage?chat_id=\u003cchannel_id\u003e` - change URL using your token and channel id\n   3. Use this payload as a sample `{\"text\":\"sms from %from% with text: \\\"%text%\\\" sent at %sentStamp%\"}`\n   4. Save configuration\n\n\u003cimg alt=\"Incoming SMS Webhook Gateway screenshot Telegram example\" src=\"https://raw.githubusercontent.com/bogkonstantin/android_income_sms_gateway_webhook/master/fastlane/metadata/android/en-US/images/phoneScreenshots/telegram.png\" width=\"30%\"/\u003e \n\n### Process Payload in PHP scripts\n\nSince $_POST is an array from the url-econded payload, you need to get the raw payload. To do so use file_get_contents:\n```php\n$payload = file_get_contents('php://input');\n$decoded = json_decode($payload, true);\n```\n\n### Screenshots\n\u003cimg alt=\"Incoming SMS Webhook Gateway screenshot 1\" src=\"https://raw.githubusercontent.com/bogkonstantin/android_income_sms_gateway_webhook/master/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png\" width=\"30%\"/\u003e \u003cimg alt=\"Incoming SMS Webhook Gateway screenshot 2\" src=\"https://raw.githubusercontent.com/bogkonstantin/android_income_sms_gateway_webhook/master/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png\" width=\"30%\"/\u003e \u003cimg alt=\"Incoming SMS Webhook Gateway screenshot 3\" src=\"https://raw.githubusercontent.com/bogkonstantin/android_income_sms_gateway_webhook/master/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png\" width=\"30%\"/\u003e\n\n### Misc\n\nThis repository contains a stable app with minimum functionality. It is not archived, but not actively developing. If you need an app with merged PRs - try [this fork](https://github.com/scottmconway/android_income_sms_gateway_webhook)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbogkonstantin%2Fandroid_income_sms_gateway_webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbogkonstantin%2Fandroid_income_sms_gateway_webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbogkonstantin%2Fandroid_income_sms_gateway_webhook/lists"}