To Check Your Number Registration Status: Go to your Phone Numbers in the Twilio Console, then Manage > Active Numbers. For additional guidance, visit our Troubleshooting article.

Add or Modify Node Modules with Twilio Functions

Twilio Functions allows users to import Node modules/packages from NPM into their project. Modules can be added, removed, and updated in Console. This guide walks users through how to manage modules.

Included Modules

Twilio Functions includes two modules by default:

  • XMLDom: A Node.js implementation of the W3C Document Object Model (DOM)
  • twilio-node: Twilio's Node.js helper library

Add a New Module to your Project

  1. Access the Functions Configuration page in Console.
  2. Click the red Plus sign (+) icon to add a new module.
    Modules_01_400.png 
  3. Add the module name and desired version number, and then click Save.
    NOTE: Enter * as the version number to always use the latest version.Modules_02_400.png 

Update a Module on your Project

  1. Access the Functions Configuration page in Console.
  2. Click the VERSION field to update the version number, and then click Save.
    NOTE: Use * for the version number to always use the latest version.
    Modules_04_400.png 

Remove a Module from your Project

  1. Access the Functions Configuration page in Console.
  2. Click the X icon next to the desired module to delete it, and then click Save.
    Modules_05_400.png 
Have more questions? Submit a request
Powered by Zendesk