Twilio Collective

Twilio has democratized channels like voice, text, chat, video, and email by virtualizing the world’s communications infrastructure through APIs that are simple enough for any developer, yet robust enough to power the world’s most demanding applications.
Twilio has democratized channels like voice, text, chat, video, and email by virtualizing the world’s communications infrastructure through APIs that are simple enough for any developer, yet robust enough to power the world’s most demanding applications.

Pinned Bulletins

View all 3 bulletins

Twilio has some news to share

Questions

Browse questions with relevant Twilio tags

12,616 questions

0 votes
0 answers
19 views

Getting error while sending email with sendgrid

Getting syntax error while sending emails with sendgrid. Here's my code const sgMail = require('@sendgrid/mail') const sendGridAPIKEY = "[MY_SENDGRID_API_KEY]" ; sgMail.setApiKey(...
user avatar
0 votes
1 answer
12 views

Specific time of the availability of the agents

Is it possible to set a time for the availability of the agents in studio flow? For example: The business hours are 8am - 6pm. If the customer call at 6:30pm then an automated message will tell the ...
user avatar
0 votes
0 answers
4 views

Proccesing audio from twilio media stream using Python

I am streaming call audio to my local server using Twilio Streams. For reference I used the offical guide from the Twilio Team. Decoding the audio and saving it to a .wav file works, although when ...
user avatar
  • 1
0 votes
0 answers
9 views

How do I pull all inactive conversations from twilio?

I know that I can get conversations with await client.conversations.conversations.list({limit: 20) but how do I only pull those conversations that are in-active? I've tried await client.conversations....
user avatar
  • 1,229
0 votes
0 answers
10 views

Port-in request area not showing recent request

I just submitted a port-in request through the twilio console and it is not showing in the port-in requests area of the console. Is there a delay here that I should be aware of? I didn't get any error ...
user avatar
0 votes
1 answer
20 views

Unable to send html file as attachment using SendGrid

I have a code where it will generate an HTML content and saves it in an location as follows I also tried by manually copying the html text and tried but no luck, I am getting bad request, So can some ...
user avatar
  • 8,248
0 votes
0 answers
5 views

Basic Substitution in SendGrid Dynamic Template

I am using the latest Java API to set dynamic template data into my SendGrid Email Templates. However though i am passing the values correctly ( i am able to see the sent dynamic values in the web ...
user avatar
0 votes
0 answers
10 views

Gunicorn server: "[ERROR] Exception in worker process" after deploying a Twilio API Flask application on Heroku

I am trying to decipher the error log from the Heroku dyno after deploying the app. The app deploys successfully, but the worker threads are encountering exceptions when starting up. I think the ...
user avatar
0 votes
0 answers
10 views

Outbound calls being blocked as spam from a SIP trunk for personal/non-business use

I have been using a Twilio SIP trunk for over a year now for phone service at my house, not related to any business entity. Signing up with Twilio was not a problem without company information. As far ...
user avatar
0 votes
0 answers
25 views

How to display both phone number and name on yealink screen from twilio programmable voice?

During incoming call either phone number or name only displayed on yealink screen, for example if caller name (CNAM) passes from Twiml, it sends to FROM field, not name or passes phone number both to ...
user avatar
0 votes
1 answer
24 views

When a Conversation is deleted, are the Messages in the conversation also deleted, or do I have to explicitly delete each message?

When tearing down a Conversation, I am: Removing the Participant from the Conversation (Participant.Delete) Deleting the User (UserResource.Delete) Deleting the Conversation (ConversationResource....
user avatar
0 votes
0 answers
11 views

Zoho/Twilio SMS Integration Issues - Only Admin can see the Twilio SMS History

We have recently migrated to Twilio SMS in the Zoho CRM. Everything is working perfectly except for one issue. Only Admin profiles seem to be able to see the Twilio SMS history. I have checked the ...
user avatar
  • 1
0 votes
1 answer
14 views

Does SendGrid email support construct similar to "AlternateViews" in .NET MailMessage?

Web site I work on (written in .NET) generates a lot of reports in HTML format. Some of them have images with the source ("src" attribute) pointing to a local file (i.e. local to the web ...
user avatar
  • 1
0 votes
0 answers
18 views

JAX-RS Rest endpoint with sendgrid email sender method error

I'm working on a fullstack app (confluence macro), with java backend where i use jax-rs rest endpoints. I would like to fetch the email sender endpoint from javascript this way: async function ...
user avatar
  • 3
0 votes
1 answer
25 views

Specifying Twilio Incoming and Outgoing Callbacks using TwiML App

I have a number which I have configured to use a TwiML App. In the App itself, I have set the VoiceURL and StatusCallback on the Voice section. The issue is, the callback is triggered when there is an ...
user avatar
0 votes
1 answer
18 views

Parsing twilio transcription GET request within studio flow?

EDIT: My question is similar to Twilio - Studio - HTTP Request except that the response I get is in xml rather than JSON. So is there a way i can specify a particular xml tag using liquid? I have ...
user avatar
0 votes
1 answer
56 views

Flutter with Firebase using Sendgrid extension- Attachments are broken

I'm trying to send an email with an image attachment, using Firestore with the Trigger Email Sendgrid extension found here. Flutter code: await db.collection('mail').add({ 'from': 'xxx@yyy.com', '...
user avatar
  • 309
0 votes
0 answers
31 views

Twilio Studio Flows to Whatsapp Flex

I've setup a whatsapp channel for twilio flex but I'm having trouble getting the auto-response messages I've set up on my flow. My scenario is that when a customer initiates a message then an auto ...
user avatar
0 votes
1 answer
30 views

Twilio Say before append Enqueue

I want to say something before enqueue a call to another workflow. This is the TwiML using C# sdk var _errorPaying = JsonConvert.SerializeObject(new { ActionID = 6, Notes = "Error paying with ...
user avatar
0 votes
0 answers
22 views

RNCallKeep.startCall() (Outgoing Call) is not opening IOS Callkit UI

I have configured the react-native-twilio-phone package in my react-native application according to the instructions and also followed the steps properly for react-native-call-keep and react-native-...
user avatar
1 vote
1 answer
26 views

How to pass Twilio Datatracks in React-Native application

I am trying to pass Datatracks in twilio in react application. In web application while connecting to room we pass local video , audio and datatracks but I am not getting how to pass the same ...
user avatar
  • 11
-2 votes
1 answer
26 views

Twilio modifying APIs parameter

I would like to ask if I can modify the current API of the same service and add one parameter to identify APIs calls "source" for example, I would like to know from were I got the call; is ...
user avatar
  • 51
0 votes
0 answers
20 views

Twilio Video background mode stops working in Android 12

I'm using Flutter Twilio Video https://pub.dev/packages/twilio_programmable_video. When I put the app into the background, it kills the video stream on Android 12. Works fine on older Android. ...
user avatar
  • 508
0 votes
1 answer
20 views

How does a telecom carrier such as AT&T or Verizon send an SMS message to a Twilio number?

I'm trying to further my understanding of how the SMS messaging system or 'texting' works. Can someone explain how the back-end mechanisms work to deliver an SMS message from someone with an AT&T ...
user avatar
0 votes
1 answer
36 views

How to confirm a caller id number was used?

I'm creating a CallResource using code like this: var resource = CallResource.Create( twiml: "<some TwiMl>", from: "+12225551234", to: new PhoneNumber("+...
user avatar
  • 10.4k
0 votes
1 answer
23 views

Refer-to Header in SIP REFER message

I am trying to use a SIP REFER message to transfer a call on a twilio elestic SIP trunk to a non-twilio number. I am sending a the Refer-to Header with the following format Refer-To: sip:+15555555555@(...
user avatar
0 votes
0 answers
25 views

SendGrid API BadRequest when sending to "self"

Looking for (probably something obvious I'm missing on a Monday morning) a little help. Using SendGrid API, I can send out from an address, for example out@myemail.com, to other email accounts (...
user avatar
-2 votes
0 answers
14 views

Multi Call for Public Address System

Is it possible to call 10-100 (Max) numbers of Local Numbers at a time? like a Conference Call. If so, what services from Twilio can I use for this.
user avatar
0 votes
0 answers
29 views

Integrating TWILIO with SAP CAI

This year, SAP CAI started with a new Policy and the form to connect TWILIO with SAP CAI has changed definitely. I've tried for more than 4 days to do it but I haven't managed to do it yet. I would ...
user avatar
  • 31
0 votes
1 answer
27 views

What is the best way to implicitly extract someone's location from a text message sent from his/her phone to an app?

I am working on an app that needs to figure out someone's location in order to say buy a coffee from the Starbucks closest to them. The app currently uses the Twilio API to receive a text from someone'...
user avatar
2 votes
2 answers
53 views

Twilio Conversations - Send Image

The goal is to send an image using the conversations API (group chat) from the backend. I see how you can use mediaUrl if it's just 1-1 messaging: MessageResource.Create( body: "Hello ...
user avatar
  • 573
0 votes
1 answer
17 views

How to reject a call on a 3rd device on Twilio

I'm using android sdk and have a case like this: client_A calls client_B and client_B accepted -> client_A and client_B connected. client_C calls client_A that is talking to client_B -> there ...
user avatar
  • 3
1 vote
1 answer
54 views

How do I extract the zip code parameter from a text sent to my Twilio number?

Would the Request.Form["FromZip"] function call work for retrieving the zip code parameter from the text message? using System; using System.Collections.Generic; using System.Linq; using ...
user avatar
0 votes
0 answers
30 views

Twilio and Browser to Browser Calls - Token Issue

I am working through this code: https://github.com/rajkumarbhatia/twilio-audio-call-laravel The corresponding tutorial video is here: https://www.youtube.com/watch?v=l-NQvfslrmA I have everything ...
user avatar
0 votes
1 answer
28 views

How to retrieve stats for dynamic templates via Sendgrid API

I'm looking for help on how to retrieve stats for dynamic templates via SG API using curl. Using https://api.sendgrid.com/v3/templates?generations=dynamic I've been able to get specific template info ...
user avatar
1 vote
1 answer
23 views

How to use DTMF Tones on Outbound Call Twilio

I need to know how can we get keys input from user while Outgoing call in Twilio. I didn't find something useful in Twilio's Documentation. If someone does this functionality please help.
user avatar
0 votes
1 answer
15 views

Can a Twilio Studio widget run a function created under another account?

I have a studio flow set up under a Subaccount. I have a function created under the main account. When I create a function widget in the subaccount studio flow, I don’t see the main account’s function ...
user avatar
1 vote
1 answer
34 views

"Failed to issue Dequeue" when using Twilio Task Router for non-phone related tasks

NOTE: Code snippets below are functional. The "dequeue" error mentioned in this post was based on an existing Assignment Callback external to these scripts. Once the URL was removed and the ...
user avatar
0 votes
1 answer
29 views

sendgrid mail sending error upon placing multiple receiver

I'm using const sgMail = require('@sendgrid/mail'); and utilizing sendgrid version 7.6.2. When I'm adding two email addresses in array and passing that into send() or sendMultiple() it's throwing me ...
user avatar
  • 573
0 votes
1 answer
17 views

Twilio receive user input during a conference call

Let us say,if there are 3 participants in conference room. Is it possible to receive user input using gather options during a conference call in twilio using node js without ending the call or ...
user avatar
0 votes
1 answer
11 views

How exactly is the Twilio Lookup API v2 discerning its valid property?

Looking at these docs, I see a valid property in the return. I've been struggling to find answers on what exactly this means. The docs say Boolean which indicates if the phone number is in a valid ...
user avatar
-1 votes
1 answer
32 views

Invalid twilio 4.0.1-1 package for Linux

From https://www.twilio.com/docs/voice/sip/quickstart (Linux instructions) The latest twilio package (4.0.1-1) has a bad size in the repository: apt install twilio <snip> Get:1 https://twilio-...
user avatar
  • 1
1 vote
0 answers
54 views

Twilio "Invalid TLS protocol" error using C# helper library

I am unable to invoke Twilio api functions. I know Twilio has upgraded their security and I have got the email for same in past and I have gone through the upgrade. https://support.twilio.com/hc/en-us/...
user avatar
  • 2,150
0 votes
0 answers
19 views

sendgrid webhook providing incorrect timestamp

I have sent email to the SendGrid and getting webhook back. Webhook return all data correct but timestamp is incorrect code for sending email. var client = new SendGridClient(apiKey); ...
user avatar
-1 votes
2 answers
41 views

Module not found: Can't resolve 'net' when i importing twilio shows,Nextjs error

Console I started to learn Next.js. When i import Twilio, it shows errors "fs not found,net not found" ./node_modules/https-proxy-agent/dist/agent.js:15:0 Module not found: Can't resolve '...
user avatar
0 votes
0 answers
15 views

Buuilding SMS bot with Cohere models but running into errors

I'm following this guide on building a SMS bot and I'm running into http response errors. I have all of the dependencies, including my API key, in the Twilio function set up correctly too. Any ideas ...
user avatar
  • 1,093
0 votes
1 answer
35 views

Can I use Sendgrid e-mail API plan to self manage my mailing list?

The Short of it: Can I self-manage my own mass e-mail marketing through the SendGrid "Email API Plan"? Or do I have to set up a "Marketing campaign plan" even if I want to build ...
user avatar
0 votes
1 answer
31 views

Handling special characters with Twilio and AWS

I have set up a Twilio SMS POST webhook that calls an AWS API Gateway endpoint. On the API Gateway side, I am set up as such: Integration Request: Type: Lambda function Mapping Templates: application/...
user avatar
  • 3,020
0 votes
0 answers
20 views

Fluent Email SendGrid provider inconsistent behaviour when sending emails in Azure Web App

I have the following method uses the Fluent Email SendGrid provider to send an email public async void GenerateEmail(string recipientEmail, string title, string tagName, string messageBody) { ...
user avatar
  • 1
1 vote
1 answer
48 views

Join an active Twilio Voice conference call from browser as Supervisor (Muted) and Coach (Whisper to agent)

I have implemented Twilio Conference call using Twilio JavaScript SDK and PHP. So far, the functionality that is working is: Agent can make an outgoing call from browser to a mobile phone Agent can ...
user avatar


15 30 50 per page
1
2 3 4 5
253