mesg-foundation/awesome

Twilio Service

Closed this issue · 0 comments

This is a proposal of a service. Feel free to contribute by sharing your feedbacks, implementing a part of it and share it here.

Description

The purpose of this service is to interact with Twilio's API. Twilio provide tools to send and receive SMS but also to call a number and receive calls. This can be really valuable when an application needs to notify an user, or receive informations from an user based on the key that they type when they receive a call, etc...

Task suggestions

Send SMS

This task will be used to send a SMS text to a specific number.
This task should have the at least the following inputs and maybe more according to the Twilio API:

  • text: the text to send by SMS
  • number: the number to send the SMS to
  • apiKey: the API Key needed for Twilio

Call a number

This task would call a number and execute a specific task based on the TwiML language with the following inputs and maybe more according to the Twilio API:

  • number: the number to call
  • action: the action to do when the call is established in a TwiML format
  • apiKey: the API Key needed for Twilio