Integrations
SemySMS
Czech SMS gateway that sends messages via your own Android phone. Cheap sending with no monthly fees — you only pay for the SIM.
What is SemySMS
SemySMS is an SMS gateway that uses an Android phone with the app installed as a physical sender.
- No monthly fees — you only pay for credit / SIM card.
- Works with any Czech or foreign operator.
- Simple REST API, ideal for edge functions.
Connector activation
- Android phone with a SIM card and the SemySMS app.
- Account on semysms.net and a generated API token.
- Device ID from the Devices section.
In the project, open Connectors → SemySMS, enter the token and device ID. Master will save the data as SEMYSMS_TOKEN and SEMYSMS_DEVICE_ID and generate the send-sms edge function.
Send SMS
ts
const { data, error } = await supabase.functions.invoke("send-sms", {
body: {
phone: "+420777123456",
message: "Your verification code is 4823.",
},
});
if (error) throw error;
console.log("SMS sent, ID:", data.id);Bulk sending
ts
await supabase.functions.invoke("send-sms", {
body: {
phones: ["+420777111222", "+420777333444"],
message: "Planned maintenance tomorrow from 9:00 AM. Master Team.",
},
});Use cases
- OTP a 2FA — verification codes during login or payment.
- Notifikace — new orders, alerts, meetings.
- Reminders — reservations, invoice due dates, visits.
- Marketing — campaigns to your own DB (with GDPR consent).
Limits and recommendations
SMS are sent from a real SIM in your phone. The operator may limit the number of messages per hour (typically 30–100).
For production use, keep the phone permanently connected to a charger and Wi-Fi.
