Questions tagged [twilio]

Twilio provides APIs and tools to add communications-related functionality (SMS/MMS, voice, video, e-mail, chat, 2FA, and others) into web and mobile applications.

Twilio provides APIs and tools to add communications-related functionality (SMS/MMS, voice, video, e-mail, chat, 2FA, and others) into web and mobile applications. There are helper libraries for many server-side programming environments (listed below), and client-side libraries for desktop web browsers, , and .

Documentation

Libraries / Language support

Related tags

  • Largely duplicative of this tag
  • Questions related to Twilio's Programmable Chat SDK
  • Questions related to Twilio Functions, a serverless function service operated by Twilio
  • Questions related to using Twilio Voice for standard PSTN phone calls or VoIP calling
  • Questions related to the WebRTC Video SDK for web and mobile apps
  • Questions related to Twilio's programmable contact center platform.
  • Questions related to Twilio's visual programming tool, Twilio Studio
  • Use to identify questions related to use of, or problems with, Twilio's APIs in PHP applications.

SIGNAL

Twilio's annual conference for programmable communications in San Francisco. Details for the next conference date can be found here.

10218 questions
138
votes
11 answers

Data truncated for column?

After changing the data type of a MySql column in order to store Twilio call ids (34 char strings), I try to manually change the data in that column with: update calls set incoming_Cid='CA9321a83241035b4c3d3e7a4f7aa6970d' where…
Zagstrug
  • 1,669
  • 2
  • 11
  • 12
98
votes
5 answers

Twilio permission to send sms has not been enabled for the region indicated

I'm a new Twilio user and am trying to test sending an SMS using my Live credentials, purchased From number, and valid To number. I'm receiving this error: Unable to create record: Permission to send an SMS has not been enabled for the region…
user80126
  • 1,081
  • 1
  • 7
  • 3
36
votes
9 answers

Send SMS with trial twilio account

I want to try to send SMS to a cellphone in Austria. I have set up a free trial Twilio account to do so. however, my Twilio account seems not to be capable of doing so. but I think it should be possible to send SMS with the trial account? This is a…
beta
  • 5,324
  • 15
  • 57
  • 99
33
votes
4 answers

Firebase SMS Verification / Authentication

For a client project I'm creating a simple hybrid app that serves a very simple function, yet will have high traffic. The app wouldn't normally need a backend, since it's very very simple, and firebase seems like a perfect solution for the project.…
johnozbay
  • 2,192
  • 1
  • 25
  • 28
26
votes
4 answers

Can I use Firebase for sending SMS to users without using Twilio?

I used to use Firebase + Twilio to send SMS to any devices, but I'm not sure that I can send SMS by using Firebase only or not? Does Firebase have an API for sending SMS?
Nuttawut Anek
  • 403
  • 2
  • 6
  • 9
25
votes
2 answers

Twilio says I don't have permission to send to the region of my 'To' number

I am trying to send a simple SMS and have been doing so for over a year with my app. All of a sudden, on my staging and local environment (prod is fine), I keep getting this error: Twilio::REST::RequestError: Permission to send an SMS has not been…
Matthew Berman
  • 8,481
  • 10
  • 49
  • 98
25
votes
9 answers

Twilio PHP - SSL certificate: self signed certificate in certificate chain

I'm struggling with this error when trying to send a message via Twilio using their PHP library: Fatal error: Uncaught exception Services_Twilio_TinyHttpException with message SSL certificate problem: self signed certificate in certificate chain…
jd182
  • 3,180
  • 6
  • 21
  • 30
22
votes
14 answers

"ImportError: No module named twilio.rest"

I have installed python 2.7.10 with PATH access and correctly installed twilio. However, when I try to execute a code I get this error message Traceback (most recent call last): File "C:\Users\tmslvo\Google Drive\Desktop\send text.py", line 1, in…
Tomislav
  • 233
  • 1
  • 3
  • 6
18
votes
3 answers

Twilio iOS SDK fails with "400 Bad request" on outgoing call

Took the source code of example provided here, converted to Swift 3 and applied my generated token of an upgraded Twilio account. When trying to make a call, it plays a sound, but then fails with a HTTP/1.0 400 Bad request when trying to access…
Kof
  • 23,893
  • 9
  • 56
  • 81
17
votes
2 answers

I'm unable to use a Twilio phone number for Apple Two Factor authentication

I am trying to use a Twilio phone number for Apple's two factor authentication, but when I set up the phone number on Apple's site the initial verification SMS is never received by the Twilio number. I have confirmed that Apple is able to send the…
ryechus
  • 787
  • 7
  • 17
17
votes
2 answers

Rails: Before process_action callback :authenticate_user! has not been defined

I'm creating a rails app that includes devise. I'm trying to add Twilio messaging to my site with Ngrok, i used this tutorial: https://www.twilio.com/blog/2016/04/receive-and-reply-to-sms-in-rails.html I was able to open Ngrok in the console and get…
DianaBG
  • 1,511
  • 3
  • 10
  • 13
17
votes
5 answers

Could not load file or assembly 'RestSharp, Version=105.2.3.0

I am having some trouble understanding this issue. I have a local project with Twilio added via Nuget. But when I export the project to my IIS server, it cannot use Twilio, even if i have added all the DLL files for Twilio. I think I am missing…
Thugge
  • 208
  • 1
  • 4
  • 10
17
votes
3 answers

Twilio lookup API not working?

I'm trying to use Twilio's Lookup API to get certain properties of a mobile number via PHP... with very little success: $twilioClient = new Lookups_Services_Twilio(Credential::TwilioSID, Credential::TwilioToken); $number =…
marked-down
  • 9,958
  • 22
  • 87
  • 150
17
votes
7 answers

How do I add a line break in my Twilio SMS message?

Using Java/Scala. I am sending this string (an sms message) to a user mobile number by a Twilio Account. var body = "Hello from Govind Singh Nagarkoti! Your verification code is " + code This goes out to the user mobile, in 1 line. I want a…
Govind Singh
  • 15,282
  • 14
  • 72
  • 106
16
votes
2 answers

accessing camera and mic in sandboxed iframe from different subdomain

I have basic video chat nodeJS webapp using twilio javascript SDK video.xyz.com which I am trying to add in a iframe of a webapplet running on different webservice and sub domain demo.xyz.com Browser shows Camera and microphone access prompt when i…
user5775613
  • 161
  • 1
  • 1
  • 5
1
2 3
99 100