Documentation

Quickstart

This guide helps you send your first message in minutes and then convert the same request into a reusable routing policy.

1

Create an API key

Create a workspace and generate an API key in the TrustRouter dashboard.

Use separate keys for:

  • Development / staging
  • Production
Keep keys private. Do not embed them in client-side code.
2

Send your first message

Choose a channel (SMS, WhatsApp, Viber, RCS), a destination number, and either:

  • Use a connected provider
  • Use a sandbox route (if enabled on your plan)

Your first request can be either:

Manual routing (you explicitly choose a provider/route), or

Default routing (TrustRouter selects a safe default based on your account settings)

3

Enable webhooks for delivery signals

Configure a webhook endpoint in your workspace. TrustRouter will deliver normalized events:

  • Message accepted
  • Delivered
  • Failed
  • Rejected (policy, risk, or compliance reasons)
  • Provider errors (normalized)
4

Create a routing policy (optional but recommended)

Once your first message works, create a policy:

  • Target destination scope: country/operator (optional), channel, use-case (OTP/alerts/support)
  • Objectives: cost, deliverability, latency, risk
  • Constraints: trust threshold, max cost, max retries
  • Failover sequence across providers/channels
5

Run a test in Console

Use the Console to:

  • Send test messages
  • Verify DLR behavior
  • Compare routes
  • Inspect errors
  • Convert a test into a production policy