Questions tagged [twilio-api]

Twilio provides a bunch of APIs for services like Chat, Voice, SMS, Fax. Any issues or problem faced related to those APIs, this tag will be used.

The Twilio REST API allows you to develop Chat applications, Applications with SMS, Fax and Voice capabilities. There are separate micro-services (REST API group) and SDKs hosted on twilio site and any issues related to the API and SDK can be tagged using this Tag.

2398 questions
3
votes
2 answers

OTP Verification unknown keyword error in Twilio with Rails

want to send android app hash along with the otp with the help of twillio but not getting proper tutorails in rails. i tried in this way require 'twilio-ruby' @client = Twilio::REST::Client.new("XXXXXXXXXXXXX", "XXXXXXXXXXXXXXXXXXXX") verification =…
Khushboo
  • 31
  • 1
3
votes
0 answers

'mesaageadded' twilio chat channel event excuting multiple times..why?

getting in this problem from 3 days .. I use twilio programmable chat to integrate chat system , so when a massage added in channel used this event according to doc https://www.twilio.com/docs/chat/tutorials/chat-application-node-express now this…
3
votes
1 answer

Get twilio usage data using an AWS Lambda (nodejs)

I would like to be able to get usage data from Twilio from within an AWS Lambda function. I am following the examples on twilio's REST API page but am not having any success. I am using version 3 of Twilio's Node Helper Library. Below is the code…
3
votes
1 answer

Twilio StatusCallBack & Gather POST method in .NET Core API returning HTTP 415 - Unsupported Media Type

Below is my code for both methods - GatherCall is returning Twiml still I get HTTP 415 & same for StatusCallback method. Can someone please help here? I am not even able to test this using ngrok as Tunneling tools don't work in my organisation…
3
votes
1 answer

Request has incorrect content type when using Twilio and Google Cloud Functions

I am following this Twilio tutorial on how to reply to SMS messages with my app: https://www.twilio.com/docs/sms/tutorials/how-to-receive-and-reply-node-js The tutorial assumes you're using Express, but I am doing this with a Cloud Function, so my…
Bryan
  • 2,951
  • 11
  • 59
  • 101
3
votes
4 answers

How to send a whatsapp message through twilio via zapier webhook

Currently trying to create a Whatsapp message to be sent via This custom Javascript code on Zapier shown via Twilio API. It successfully reaches out to twilio but returns "Authentication Error - No credentials provided". var messagesUrl =…
Conroy
  • 81
  • 1
  • 7
3
votes
1 answer

Twilio PHP Error Handing Not Working for SMS

I am using the Rest API in my php cron for Twilio. What I am trying to do is loop through all records from my database that require a text message, and then send them a text. The code works fine, but if there's an error thrown the script breaks…
chris.cavage
  • 759
  • 1
  • 13
  • 35
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 Node.js - Getting Conference Participant Details In statusCallback

I'm trying to have the ability to update a call to dial it into a conference, and then I want to keep track of which phone numbers are in the conference. I'll already have the phone number before updating the call, so my plan was to add it as…
digglemister
  • 1,477
  • 3
  • 16
  • 31
3
votes
1 answer

How to Send this API Call to Twilio Flow via CFHTTP

So I'm trying to setup the API call to Twilio Flow using CFHTTP but am having no luck. Keeps returning CFHTTP doesn't exist when I try to view the response. I've already tried adjusting from formfields to body, setting the charset to utf-8, etc. I…
MTut
  • 35
  • 2
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

How to parse the incoming SMS into a text file

I am currently successfully able to send an SMS to my Twilio number which I got with my account and reply to it with a standard response. What I want is to parse the received text in my Twilio number and paste it int a .txt file. Here the code for…
3
votes
1 answer

How to use DialogFlow fulfilment and webhooks for Twilio?

I see that Dialogflow has fulfiment and webhook installations to allow for further dynamic and logistic control over the bot responses. I'm trying to peg a database on top of the webhook, but the channel I'm using is Twilio Text Messaging, and I'm…
3
votes
1 answer

How to fix "Direct notifications and query notifications cannot be requested together"

I am getting an exception while sending notification using Twilio notify. The code throws an exception when I send notification after sending SMS using the same Twilio NotificationCreator bean if I am sending notification without sending SMS it is…
S_K
  • 700
  • 1
  • 8
  • 13