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

Create Sms Template

Create SMS template.

The SMS channel delivers text messages β€” templates, campaigns, and provider integrations β€” for OTPs, alerts, and bulk sends. This method creates the sms template and returns its id.

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.createSmsTemplate({
  templateName: 'orders',
  translations: ['item-1'],
  description: 'Managed via the Norbix SDK.',
  tags: ['orders', 'reports'],
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Notifications.CreateSmsTemplateAsync(new CreateSmsTemplateRequest
{
    TemplateName = "orders",
    Translations = new[] { "item-1" },
    Description = "Managed via the Norbix SDK.",
    Tags = new[] { "orders", "reports" },
});

In the dashboard

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

API reference

Full request and response for this endpoint: Create Sms Template.

Last updated