Skip to content
Last updated

Sinch Functions & CLI

Sinch Functions is currently in beta. You can build, deploy, and run real traffic today. APIs and capabilities may evolve during the beta — we will call out breaking changes in release notes.

Two things in one toolchain:

  • Sinch CLI — the developer command line for every Sinch API. Rent phone numbers, send SMS and fax, manage SIP trunks, configure voice apps, manage secrets. All from your terminal.
  • Sinch Functions — a serverless runtime where you write a function, deploy it, and Sinch routes live traffic (voice calls, WhatsApp messages, SMS) to your code.

The Sinch CLI is how you interact with both.

Pick your path

What you can build with Functions

Use caseWhat it does
Voice IVRInteractive menus with DTMF input and text-to-speech
SMS responderReply to inbound SMS with dynamic content
Call routingRoute calls based on caller, time, or external data
AI voice agentConnect calls to a speech AI pipeline via ElevenLabs or similar
Number maskingProxy calls between parties without exposing real numbers
Conversation botHandle WhatsApp, Messenger, SMS via the Conversation API

What you can do with the CLI

WorkflowCommand
Rent a phone numbersinch numbers available rent
Send an SMSsinch conversation send
Send a faxsinch fax send
Manage SIP trunkssinch sip trunks
Deploy a functionsinch functions deploy
Stream function logssinch functions logs --follow
Store a secretsinch secrets add

Two runtimes, one mental model

Functions runs your code on either runtime with full feature parity.

Node.jsC#
LanguageTypeScript / JavaScriptC# / .NET 9+
Package@sinch/functions-runtimeSinch.Functions.Runtime
Mental modelLike ExpressLike ASP.NET MVC with controllers

If you know Express or ASP.NET MVC, you already know 90% of the runtime. The rest is conventions for how Sinch maps URLs to your handlers.

Where to go next