{"id":41020557,"url":"https://github.com/dilshat/sms-sender","last_synced_at":"2026-01-22T09:33:08.996Z","repository":{"id":57535374,"uuid":"225838187","full_name":"dilshat/sms-sender","owner":"dilshat","description":"Simple service to send sms messages via http requests","archived":false,"fork":false,"pushed_at":"2020-10-26T05:46:10.000Z","size":10005,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T17:31:06.269Z","etag":null,"topics":["delivery","http","rest","smpp","sms"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dilshat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-04T10:16:57.000Z","updated_at":"2024-06-20T17:31:06.270Z","dependencies_parsed_at":"2022-08-29T00:30:22.308Z","dependency_job_id":null,"html_url":"https://github.com/dilshat/sms-sender","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dilshat/sms-sender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilshat%2Fsms-sender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilshat%2Fsms-sender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilshat%2Fsms-sender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilshat%2Fsms-sender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dilshat","download_url":"https://codeload.github.com/dilshat/sms-sender/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dilshat%2Fsms-sender/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28660770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["delivery","http","rest","smpp","sms"],"created_at":"2026-01-22T09:33:08.485Z","updated_at":"2026-01-22T09:33:08.991Z","avatar_url":"https://github.com/dilshat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://img.shields.io/travis/Dilshat/sms-sender/master.svg)](https://travis-ci.com/Dilshat/sms-sender)\n[![Go Report Card](https://goreportcard.com/badge/github.com/Dilshat/sms-sender)](https://goreportcard.com/report/github.com/Dilshat/sms-sender)\n[![codecov](https://codecov.io/gh/Dilshat/sms-sender/branch/master/graph/badge.svg)](https://codecov.io/gh/Dilshat/sms-sender)\n[![Maintainability](https://api.codeclimate.com/v1/badges/558c328daf5a22e77a8e/maintainability)](https://codeclimate.com/github/Dilshat/sms-sender/maintainability)\n\n#### SMS service\nSimple sms service that provides HTTP API to send text messages.\nIt connects directly to SMS Center or SMS proxy of telecom operator using SMPP 3.4 procotol.\n\nHTTP API description is available at `http://${base-path}/swagger/index.html` (the service must be running)\n\n#### Examples of using HTTP API\n\n- Sending message (there might be more than one recipient phone):\n```\ncurl localhost:8080/sms -H \"Content-Type: application/json\" -d '{\"phones\":[\"996XXXZZZZZZ\"],\"text\":\"hello\", \"sender\":\"awesome\"}'\n```\nwill return response containing id of message, which can be used later to check status of message delivery:\n```\n{\"id\":56}\n```\n\n- Check status of message delivery\n```\ncurl localhost:8080/sms/56\ncurl localhost:8080/sms/56?phone=996XXXZZZZZZ\n```\nresponse:\n```\n{\n  \"id\": 56,\n  \"sender\": \"awesome\",\n  \"text\": \"hello\",\n  \"statuses\": [\n    {\n      \"phone\": \"996XXXZZZZZZ\",\n      \"status\": \"DELIVRD\"\n    }\n  ]\n}\n```\n\nMessage statues are stored N days in the service database (_number of days can be configured in the service settings_).\n\nAll settings are stored in the file **.env**; environment variables with the same names as in the .env file override the latter ones.\n\n#### Delivery status reception\n\nIf _WEB_HOOK_ is set to some non-empty URL, the service will send notifications about delivery status receipt (a separate update per each phone) to the specified http endpoint in the following form:\n\n```\n{\n  \"id\": 56,\n  \"sender\": \"awesome\",\n  \"text\": \"hello\",\n  \"statuses\": [\n    {\n      \"phone\": \"996XXXZZZZZZ\",\n      \"status\": \"DELIVRD\"\n    }\n  ]\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdilshat%2Fsms-sender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdilshat%2Fsms-sender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdilshat%2Fsms-sender/lists"}