Twilio Functions provides a serverless environment for you to build and run your code, easily interacting with other Twilio APIs and getting to production faster.
Questions tagged [twilio-functions]
197 questions
7
votes
0 answers
How to access Twilio Add-Ons from TwiML, Functions, Studio?
I have a relatively simple application, but I think I may have outgrown TwiML. The application receives an incoming call, get some data from several Twilio Add-Ons based on the call, sends an SMS message with Add-On data included, then forwards the…

pseudon
- 225
- 1
- 10
6
votes
0 answers
Hearing Echo When Using Twilio Video Chat SDK In iOS
Recently create an app for video conference with TWILIO CLIENT IOS.
Hearing back the echo every time. Any solution for fixing this issue?

Hari R Krishna
- 782
- 6
- 20
5
votes
3 answers
Cannot find module "@sendgrid/mail"
I'm using the Sendgrid mail package (https://www.npmjs.com/package/@sendgrid/mail) to send a test email using the Twilio Serveless functions. I have configured the module, specifying the correct version and module in the configure dashboard here.…

edoc
- 179
- 3
- 9
5
votes
2 answers
Twilio - Send email from function
Is there a way to send email from Twilio function? I understand that we can use sendgrid. I am looking a simpler solution.

arun kumar
- 703
- 2
- 13
- 33
5
votes
2 answers
Can I forward SMS to an email using ONLY a twiml bin?
It's very clear how you should forward an SMS to an email address using twilio - they have a good example of doing it with php code hosted on a third party server.
However, I would like to forward an SMS to an email address using ONLY a twiml app…

user227963
- 221
- 2
- 6
4
votes
2 answers
"Call to getUserMedia failed: DOMException" Twilio Video Call with Chrome version "Version 72.0.3626.96"
I have added twilio video js file from cdn "//
media.twiliocdn.com/sdk/js/video/releases/1.14.1/twilio-video.min.js"
I tried to add adepter.js but seems same error.
Twilio.Video.createLocalTracks({
audio: true,
video:…

Dhaval Bhavsar
- 59
- 1
- 4
4
votes
2 answers
Twilio functions calling other Twilio functions
My Twilio function is in danger of getting too large and unwieldy. I'd like to break it up into smaller functions, and have the 'master' function call the other functions to get data as needed.
I don't see anything in the documentation about this,…

coco
- 2,998
- 1
- 35
- 58
4
votes
4 answers
How can i add pause to Twilio studio Say/Play widget
I have a say widget
> "Hello ... Thanks"
I've tried add a pause string like twilML to that element like so
> "Hello ... Thanks"
but it just speaks out the Pause length="10" section
how can i add a pause to a Say/Play widget…

Shachaf.Gortler
- 5,655
- 14
- 43
- 71
3
votes
2 answers
Is there a way to call a private/protected twilio function?
This is my first time using twilio and I start with the new twilio-cli and I create new project to build and deploy a backend over twilio functions, but I need that some of the functions keep in private, and I want to call that function through…

Joao Pixeles
- 142
- 8
3
votes
1 answer
How to send/receive SMS in Zoiper with a Twilio number?
I have a Twilio mobile number that has both voice and SMS functionality. I am able to make and receive calls in Zoiper, but I don't know how to set it up so I can also send/receive SMS. There are no guides on how to do this. How do I set this up?

Jake
- 3,865
- 5
- 25
- 58
3
votes
1 answer
Twilio chat client is coming nil for iOS after getting token from twilio function
I am trying to integrate Twilio chat (message, voice, and video) in my application.
I am not able to get chat client in the below code
// Set up Twilio Chat client after getting token
TwilioChatClient.chatClient(withToken: token, properties:…

Abhishek
- 358
- 3
- 10
3
votes
1 answer
Replaying an utterance in a Twilio voice call
I'm trying to write a simple Twilio setup that will make an outbound call, record a user's voice message and immediately replay it back to him. I have created two functions: startcall and msgin. StartCall calls the user and specifies MsgIn in the…

dpq
- 9,028
- 10
- 49
- 69
3
votes
1 answer
How to configure SMS URL of Twilio number?
I am getting an (Error: 30008) Unknown error inside the Twilio message logs.
Screenshots
To fix this issue we would have to configure SMS URL of Twilio number.
So, Can anybody help me how to configure SMS URL of Twilio number step by step?
Any…

Abhishek
- 31
- 1
- 4
3
votes
3 answers
Twilio Forward SMS to email - Cannot find module 'got'
I'm new to Twilio. I'm attempting to forward an SMS to an email address using this tutorial:
https://www.twilio.com/blog/2017/07/forward-incoming-sms-messages-to-email-with-node-js-sendgrid-and-twilio-functions.html
I feel certain I've done…

Scott W. Vincent
- 63
- 9
3
votes
2 answers
How to delete the last (most recent) recording made by caller in Twilio in Node.JS
I have a function which lets you record and then delete your recording if you are not satisfied with it. You can delete your last recording when you press *.
My code for recording is:
exports.handler = function(context, event, callback) {
…

techCells
- 67
- 1
- 9