BlakePetersen / function-templates

Twilio Function templates for different Voice, SMS, Video, Chat, Sync, etc use cases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twilio Function Templates

A Twilio Labs Project Learn with TwilioQuest

Twilio Functions are a serverless environment to build and run Twilio applications so you can get to production faster. You provide the Node.js code to perform the task you need and Twilio runs it. You can read more about Twilio Functions and how to use them in the introductory blog post.

This repo

This repo is intended to be a collection of useful Twilio Functions that are tested and documented. The intention is that you can take any of these Functions and drop them into a project, confident they will work, whether you are a developer looking for a particular building block or a builder who just needs a particular Function. These templates are also available through twilio-run new inside the twilio-run CLI.

Usage

Each Function lives in its own directory within this repo. The easiest way to use the templates is through the Twilio CLI. Check out our docs for the different ways you can use these templates.

Available Functions

Complete list of available functions

Todo

  • Forward message to email with other API providers
  • Generate Twilio Client access token
  • Inbound calls for SIP registration
  • Outbound calls for SIP registration
  • Translate webhook from application/x-www-form-urlencoded into application/json and forward on to another service

Please add ideas if you have them.

Contributing

This project welcomes contributions. Please check out our Contributing guide to learn more on how to get started.

License

MIT © Twilio Inc.

About

Twilio Function templates for different Voice, SMS, Video, Chat, Sync, etc use cases

License:MIT License


Languages

Language:JavaScript 65.3%Language:HTML 27.9%Language:Jupyter Notebook 3.7%Language:CSS 1.9%Language:Shell 1.2%