Transports

Taqnyat SMS

Send SMS through the Taqnyat API.

Send SMS through the Taqnyat API.

The one rule

Create this transport under the matching sently channel sender.

Configuration

OptionTypeDefault or requirement
bearerTokenstringrequired
senderstringrequired
import { createSmsSender } from "sently/sms";
import { TaqnyatSmsTransport } from "sently/transports/taqnyat-sms";

const sender = createSmsSender({ transport: new TaqnyatSmsTransport({ bearerToken: "...", sender: "MyBrand" }) });
await sender.send({ to: "+15551234567", body: "Hello" });

On this page