A simple .NET 6 project that tests Twilio's Voice and SMS APIs, using Twilio .NET SDK.
There are an incoming and outgoing call controllers with simple flows - user input, audio playback, recording of part of the call, etc. There is also the SMS logic, which is not that complicated anyway.
Register in Twilio with this link to get bonus $10 when you upgrade your account.
Example serverless service which can be used to fetch simple data and to be used in the builder
The files in the functions
folder are the actual endpoints.
Files ending with .protected.js
can be accessed only with valid SID and Token passed with the request.
https://github.com/twilio-labs/serverless-toolkit/tree/main/packages/plugin-serverless
npm install -g twilio-cli
plugins:install @twilio-labs/plugin-serverless
twilio serverless:init
twilio serverless:deploy
twilio serverless:deploy --environment=prod
twilio serverless:deploy --production
twilio api:serverless:v1:services:environments:list --service-sid xxxxxxxxxxxxxxxxxxxx
twilio api:serverless:v1:services:remove --sid SID
twilio serverless:promote --build-sid ZB01119b906ee6de780d129728ffb5620b --environment=prod --create-environment