You would do something like this, it would not be a json payload but a GET
request with the parameters URL encoded.

group = smsc
smsc = http
smsc-id = custom-http
system-type = custom
allowed-smsc-id = custom-http
send-url = "
https://your-webservice.com/send-sms?username=user&password=pass&to=%p&text=%b
"
max-sms-octets = 140
dlr-url = "https://your-webservice.com/delivery-reports?id=%k&status=%d";
dlr-mask = 31

See:
https://www.kannel.org/download/1.4.5/userguide-1.4.5/userguide.html#AEN2728

Best,
Jorge



On Thu, Mar 20, 2025 at 12:56 PM Richard Carpenter <
richard.carpen...@global.com> wrote:

> Hi, we’ve been using Kannel for many years connecting to a SMPP based
> SMSC, but this service is now being shut down by our provider and we have
> been instructed to migrate to the JSON REST API.  Ive seen kannel supports
> a ‘special’ smsc type of HTTP.  Does this smsc type support sending the
> message as a JSON payload using http basic auth, and if so could you point
> me to some documentation to get it set up.
>
>
>
> Many Thanks
> Global is the trading name for Global Media & Entertainment Limited and
> associated companies. You can contact us at 30 Leicester Square, London,
> WC2H 7LA, Tel: 020 7766 6000, Email: i...@global.com or, for further
> information about our companies and brands, please go to www.global.com.
> This email is confidential. If it has been sent to you in error, please
> notify the sender and delete the email and any attachments; please do not
> copy, disclose or use in any way this email or its contents.
>

Reply via email to