SMS

Settings → sms connects SAS Radius to your SMS provider and sets the SMS texts. SAS Radius works with any provider that offers an HTTP API.

settings sms

FieldDescription
Enable SMS ServiceTurns SMS sending on. Required for every SMS, including activation, expiration and FUP messages.
SMS API UrlThe address of your provider's send API. Use {dst} for the phone number and {text} for the message, for example https://sms.example.com/send?user=X&pass=Y&to={dst}&msg={text}.
API MethodGET or POST: the HTTP method your provider expects. Both send the SMS.
POST ParametersShown for POST. The form fields sent to the provider as name = value pairs, for example phone = {dst}, message = {text}, plus any account fields your provider needs.
Activation SMSSent after the service is activated (needs Notify via SMS on activation in Notifications).
SMS to be sent before expirationSent a few days before the subscription expires (needs Notify via SMS on expiration; the number of days is set there).
SMS to be sent after expirationSent at the moment the subscription expires.

Placeholders

These words in the message are replaced with the subscriber's data:

MessagePlaceholders
Activation SMS{username}, {firstname}, {lastname}, {exp} (expiration), {srv} (profile), {balance}, {id}, {parent_name}, {parent_phone}, {parent_address}
SMS before expiration{username}, {firstname}, {lastname}, {exp}, {srv}
SMS after expiration{username}, {firstname}, {lastname}, {exp}, {srv}, {parent_name}, {parent_phone}, {parent_address}

Buttons

Notes

Required permission: Settings - System Settings


Revision #3
Created 2023-06-14 07:59:58 UTC by Admin
Updated 2026-11-07 20:28:48 UTC by Admin