sinch-functions-dotnet
Sinch Functions — C#/.NET Runtime
Overview
Sinch Functions is in beta: free during the beta period, and the API may change before general availability.
Package: Sinch.Functions.Runtime (NuGet). Write C# functions using ASP.NET controller patterns with dependency injection, answering phone calls, handling conversation webhooks, and serving custom HTTP endpoints.
This skill describes Sinch.Functions.Runtime 0.3.17 and later, where a voice handler is an OnIncoming(Call, CommandBuilder) override. Earlier releases used a Handlers property returning CallHandlers. That surface was removed, so do not generate it. Voice API v2 is what Context.Voice is and what a new function is written against. The unversioned name always means the current API: Context.Voice is SinchFunctions.Voice.V2.Client. The v2 sections below lead this skill because developers.sinch.com does not yet have a Functions-on-v2 page. Existing Voice v1 controllers keep running unchanged; see Voice v1 callbacks.
Related skills:
sinch-functions— platform overview, concepts, runtime choicesinch-cli— terminal commands (sinch functions dev,sinch functions deploy, etc.)- Voice API v2 is covered by the
sinch-voice-api-v2skill; load it for the REST contract, SVAML v2 commands, and service configuration. sinch-functions-node— the same concepts in Node.js/TypeScript