Render Sms
Runs the SMS Razor template, returns the bound text or the list of unresolved tokens.
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
API reference
Last updated