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
13
votes
1 answer

Testing calls/texts to international numbers

I have a web app that currently sends and receives SMSes in the US, and I'd like to add international support. I want to test sending texts to a few different countries (at least UK, Canada, and Mexico), but I don't have access to any phone numbers…
octern
  • 4,825
  • 21
  • 38
12
votes
1 answer

How to get notified when SMS Status changes from 'Queued' to 'Sent'?

Hello, I am trying to learn Twilio API. When I [send SMS through php][1] script.. twilio returns a response object with status = 'queued'. Now I want to get notified when the status changes to 'sent'. Is this possible with…
Frank
  • 2,285
  • 7
  • 43
  • 68
12
votes
2 answers

How to test a Twilio application?

What's the best way of testing a Twilio application and simulate calls? Things I'd like to test: Incoming Call Recording Transcription Voicemail I'm mostly interested in learning how to do it in Node.js and Ruby.
donald
  • 23,587
  • 42
  • 142
  • 223
12
votes
1 answer

Twilio WebRTC TURN relay randomly stops working after a few minutes

I am using the Twilio Network Traversal Service as part of a native application I am working on to perform peer-to-peer remote desktop connections. We implement a subset of the WebRTC protocol stack that is equivalent to the WebRTC data channels…
awakecoding
  • 428
  • 5
  • 15
12
votes
2 answers

Stream Video using Twilio from IP Camera RTSP

All of Twilio's examples for their Programmable Video service that I've been able to find either demonstrate screen sharing or webcam media streams. Can someone point me to an example that streams video from an RTSP stream provided by an IP…
hatboyzero
  • 1,929
  • 1
  • 21
  • 44
12
votes
2 answers

How can i see a list of my Twilio account phone numbers by Twilio API?

I have a twilio account for sending SMS. However, i need guidance on how to see a list of my account phone numbers by calling its API. I have tried to navigate through the different menus in API but i dont see any option to get list of my account…
Snow Fox
  • 389
  • 6
  • 15
12
votes
1 answer

Twilio Phonegap plugin pjsip error

I am stuck at this from few days. I installed the phonegap plugin for twilio client (by Jeff Linwood) to a fresh phonegap app. Copied the headers, library file to xcode project from twilio ios sdk as mentioned in instructions. But when i run the…
James
  • 121
  • 3
12
votes
2 answers

Twilio check if phone number has been blacklisted

I am currently integrating into the twilio rest api and need to perform a check on a users phone number to determine if that user has blacklisted themselves or not. I have little experience with this api and scouring through the documentation and…
Eric Baril
  • 305
  • 4
  • 14
12
votes
1 answer

Use IfMachine in TwiML when using

Is there a way to use the Dial verb in conjunction with the IfMachine parameter? I don't see anything on the dial verb page (https://www.twilio.com/docs/api/twiml/dial) which indicates the IfMachine parameter can be used or whether it will be…
almisson
  • 155
  • 1
  • 9
12
votes
5 answers

Is it possible to send a single message to multiple numbers at a time using Twilio?

I'm developing an app that allows users to add people, info, and Name/phone, or select multiple numbers from their iPhone contact list to send SMS messages to the selected numbers. the problem is Twillio API needs to be call every time per number.…
user1357157
  • 131
  • 1
  • 1
  • 4
12
votes
3 answers

Twilio sms not coming in mobile

I have implemented test twilio sms application. I have downloaded three files from https://github.com/benedmunds/CodeIgniter-Twilio I have used my account_sid, auth_token in twilio.php file which is in config folder. I have also used 'from' number…
user2346003
  • 177
  • 2
  • 3
  • 9
11
votes
1 answer

Make twilio leave a message after the beep

I am using Twilio to make calls to my clients to remind them of certain dates. Since some people dont pick up these calls, I would like to make my Twilio leave a voice message on their answering machines. Is that possible? If yes how? Thanks
wael34218
  • 4,860
  • 8
  • 44
  • 62
11
votes
1 answer

Nestjs mocking service constructor with Jest

I have created following service to use twilio send login code sms to users: sms.service.ts import { Injectable, Logger } from '@nestjs/common'; import * as twilio from 'twilio'; Injectable() export class SmsService { private twilio:…
user3482304
  • 151
  • 1
  • 2
  • 12
11
votes
2 answers

iOS EXC_BAD_ACCESS Attempted to dereference garbage pointer TwilioPoco

I am having difficulties figuring out this issue that I see on sentry and crashlytics. I'm not sure how to replicate the bug and the stacktrace is little cryptic to me. Does anyone have any idea? OS Version: iOS 11.4.1 (15G77) Report Version:…
Lee
  • 119
  • 1
  • 1
  • 3
11
votes
1 answer

FreePBX Twilio Outbound Ringtone

I have a Twilio SIP trunk connected to FreePbx, all users are using the webrtc module of FreePBX to make calls. They can make and receive calls fine with two way audio, however with outbound calls the caller does not hear ringtone (ringing) as the B…
Freddy Wetson
  • 456
  • 1
  • 4
  • 23