Get building with a free trial 🚀

25 SMS credits over 14-days. No obligation. No credit card required.

Easy To Deploy

⏱️ Get started in 15 minutes using our code snippets

  • NZ, AU & Global SMS
  • SMS Reply Support
  • Status Webhook/Poll
  • Billing Reporting
  • Admin Dashboard
  • Local NZ Support

{
    "MessageData" :
    {
        "Message": "Hello, this is a test.",
        "Destinations" : 
        [
            { "Recipient": "+6421000001" },
            { "Recipient": "+6421000002" }
        ]
    }
}
                  

using TNZAPI.NET.Api.Addressbook.Contact.Dto;
using TNZAPI.NET.Api.Messaging.SMS;
using TNZAPI.NET.Core;

var apiUser = new TNZApiUser()
{
    AuthToken = "[Your Auth Token]"   // Auth Token
};

var client = new TNZApiClient(apiUser);

var message = new SMSBuilder()
    .SetMessageText("Test SMS")       // SMS Message
    .AddRecipient("+6421000001")      // Recipient 1
    .AddRecipient("+6421000002")      // Recipient 2
    .Build();                         // Build SMS() object

var response = client.Messaging.SMS.SendMessage(message);

DebugUtil.Dump(response);
                  

from tnzapi import TNZAPI

client = TNZAPI(
  AuthToken="[Your Auth Token]"     # Auth Token
)

request = client.Send.SMS(
  Reference = "Test",               # Optional
  MessageText = "Test SMS",         # SMS Message
  Recipients = [                    # Recipient
      "+6421111111",
      "+6422222222"
  ]
)

response = request.SendMessage()      # Send SMS

print(repr(response))
                    

const tnzapi = require(
const client = new tnzapi({
  "AuthToken": "[Your Auth Token]"          // Auth Token
});

var request = client.Send.SMS({
  "Reference": "Test",                  // Optional
  "Message": "Test SMS",                // SMS Message
  "Destinations": [                     // SMS Recipients
    { "Recipient": "+64211111111" },
    { "Recipient": "+64222222222" }
  ]
});

var callback = function(data) {
  console.log("Response:",JSON.stringify(data, null, "  "));
};

request.SendMessage(callback);            // Send Message
                  

Private Sub cmdSendSMS_Click()
Dim res As TNZAPI.MessageResult

Dim message As TNZAPI.SMS
Set message = New TNZAPI.SMS

message.Sender = "YOUR_EMAIL_ADDRESS"
message.APIKey = "YOUR_API_KEY"
message.MessageText = "Test SMS"
message.Recipient = "+64211231234"

Set res = message.SendMessage()

If res.MessageID <> "" Then
    MsgBox "Message ID: " & res.MessageID
Else
    MsgBox "Error: " & res.ErrorMessage
End If
End Sub
                  

To: [mobile]@sms.tnz.co.nz
From: myapplication@mydomain.co.nz
Subject: Reference ID ABC123
Body: Hello, this is a test message.
                  

Super Quick Delivery

Make your application feel snappy and unlock conversations and instant alerts

Capture Replies as Webhooks

Mobiles can reply to texts and create conversations for a better user experience

Fair Pricing

'Per-Text' usage based pricing with useful reporting so that you can itemise costs

Individual & Broadcast Texts

Send one text or many texts with the same code

Minimal Maintenance

Intelligent versioning means your code lasts longer

Usage Reporting

Monitor usage and manage API Keys using the Dashboard so that you can effectively allocate costs

Simple To Use

Grab a snippet of code or try our Postman project

Responsive Local Support

Our NZ-based support team includes developers and experts on the NZ market

Access Other Tools

The TNZ API is feature packed and capable of sending Email, Voice and Fax too!

Features that are Built-in 💪

Send SMS to NZ and Globally

Global SMS

Send SMS internationally to 240 countries. Prices start at 20c and reduce with volume.

Send files in SMS messages

FileLink

Send pictures, videos, documents and files in text messages. All you need is the mobile number - no app download needed. Files are sent as a link inside the text message. Protect sensitive files with TLS encryption and auto-expiring links. Track when links are clicked.

Shorten long links in SMS messages

URL Shortener

Reduce long URLs to tiny links. Save on text characters used (shorter texts means lower costs). We also report on when links are clicked and the type of device clicking them.

Track opted out SMS replies automatically

Automatic Opt-Out Tracking

Easy Spam Act compliance with Opt-Out detection. Simply advise mobiles to 'Text STOP to OptOut' and we'll handle the rest. View and edit your blocklist in the online Dashboard.

Send SMS, Email, Voice ∓ Fax

Other Message Types

Send Email, Voice & Fax with the same API. Specify the chosen MessageType in the API URL and send! Use the same webhooks to capture reports.

Send DEMO to 875 to see SMS Keywords in action

Short Codes

Custom Short Code options for your business. Options include Standard Rate (mobile pays 20c) and Free-to-Text (you pay to receive). Including support for SMS Keywords like "Text WIN to 5555".
Capture received SMS messages via API

SMS Responses / Replies

Mobiles can reply to your messages. Capture responses and create conversations. Responses can be delivered as a Webhook, an Email notification, viewed in the dashboard or polled using a GET.

Mobiles can reply to texts for free using ReplyLink

ReplyLink

Mobiles can reply to texts for free using ReplyLink. Send "[[REPLY]]" in your text message. We'll add a unique link to your text message so mobiles can reply via the web. The ReplyLink page can be updated with your branding.

Mobiles can text you for free with a Dedicated Free-To-Text Short Code

Free-to-Text

Give mobiles a Short Code number they can text for free. You absorb the cost of the text message. Plus, you can set up unlimited SMS Keyword campaigns.

Give mobiles new ways to send you information with SMS Landing Pages

Mobile Landing Pages

Give mobiles new ways to send you information with SMS Landing Pages. This tool adds a link to text messages. Play a video, complete a survey, pay a bill. Your landing page is customisable by you and hosted by us.

Track when a mobile clicks a link in your text message

Tracking Clicks

Track which links mobiles clicked on in text messages. When using our built-in FileLink, ReplyLink, URL Shortener and Landing Page features. View reports using your Dashboard login.
Webhooks contain the Price value

Webhook 'Price'

The API's Status Report webhooks contain a "Price" parameter. Make itemized billing super easy! Track your costs and pass these costs on to customers and business units.

View real-time reports and usage in the cloud dashboard

Dashboard Reporting

A central place for viewing usage reports. See messages sent and received. Filter by User, Reference, and more.

Rebill from daily or monthly Call Detail Records

CDRs (Daily and Monthly Reports)

CSV reports delivered via Email or FTP. Easily plug the reports into most automated billing systems. Reports can be itemized per message or summarised by billing group.

Add an API User

Managing API Keys

Add unlimited APIKeys for your applications (no charge per user). Use a different API User for each application, business unit, short code, or billing group.

Separated billing groups

SubAccounts & Departments

Add API Users under different billing groups. Webhooks and Reports list the appropriate SubAccount and Department to charge. Give end-users a Dashboard login to view only their SubAccount or Department usage.

Transparent Transactional Pricing

Monthly fee plus usage costs. Straight-forward and fair.

No-Contract Plan

Estimated SMS Usage per Month:
/SMS Parts
Monthly Fee:     $20 / Month
Target Price:      $0.10 / SMS Part
Estimated Total: $25.00 / Month (excl. GST)
  • Unlimited Users/APIKeys
  • Dashboard Reporting
  • Access to SMS Tools
  • Send to NZ Mobiles
  • Send Internationally
  • Local NZ Support

NZD excl GST. Unlimited Users.

Start your 14-day free trial

Bespoke Plan


Require something out of the ordinary?

  • Wholesale
  • Whitelabelling
  • Enterprise Reporting
  • High-Volume Usage
  • Custom Short Codes
  • Send Marketing

A robust platform trusted by 3500 New Zealand businesses sending over 20m+ SMS annually

14-day FREE Trial with 25 credits? Yes please!

No obligation. No credit card required.

Need development expertise? We're developers too. Chat with Sales.

Start Your Free Trial ⤍