For the complete documentation index, see llms.txt. This page is also available as Markdown.

Render Sms

Runs the SMS Razor template, returns the bound text or the list of unresolved tokens.

The SMS channel delivers text messages β€” templates, campaigns, and provider integrations β€” for OTPs, alerts, and bulk sends. Renders the sms.

This method is on the Hub surface (norbix.hub.notifications) β€” call it from admin tooling or IaC.

These examples assume the SDK is installed and your credentials are set as environment variables β€” each client reads them automatically, so the constructors below take no arguments. See Install a Norbix SDK.

import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.hub.notifications.renderSms({
  code: 'return input;',
  isForPreview: true,
  tokens: ['item-1'],
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Notifications.RenderSmsAsync(new RenderSms
{
    Code = "return input;",
    IsForPreview = true,
    Tokens = new[] { "item-1" },
});
from norbix_python import NorbixHub

norbix = NorbixHub()

result = norbix.notifications.render_sms(
    code="return input;",
    isForPreview=True,
    tokens=["item-1"],
)

In the dashboard

Manage this visually in Norbix Cloud β€” see Notifications β†’ SMS.

API reference

Full request and response for this endpoint: Render Sms.

Last updated