Questions tagged [twilio-php]

Use to identify questions related to use of, or problems with, Twilio's PHP Helper Library.

Use the tag for questions about use of any API or service via the PHP Helper Library.

Twilio refers to a set of web services, APIs and tools provided by the company of the same name, used to send and receive text/picture messages, make and receive phone calls, and embed VoIP calling into web and native mobile applications.

Related tags

  • Use to identify questions related to use of, or problems with, Twilio's APIs.
  • Use to identify questions related to use of, or problems with, Twilio's Click-to-Call service or API.

Documentation

715 questions
3
votes
1 answer

Twilio fax - How to manage status responses in Wordpress in PHP?

I want to send and manage faxes using PHP only (no JavaScript or cron, if possible) through Twilio from my linux+Apache+Wordpress site. (Development is on a Wordpress site through my localhost using ngrok.) I have been able to set up a Wordpress…
iND
  • 2,663
  • 1
  • 16
  • 36
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
1 answer

Twilio - Laravel issue - Credentials are required to create a Client

I am receiving the following error [2018-12-18 12:12:46] local.ERROR: Credentials are required to create a Client {"exception":"[object] (Twilio\Exceptions\ConfigurationException(code: 0): Credentials are required to create a Client at…
The-WebGuy
  • 877
  • 5
  • 12
  • 25
3
votes
3 answers

Get status of SMS send though Twilio notify

I have send notification messages using Twilio api. Messages are sending properly. $notification = $client ->notify->services($serviceSid) ->notifications->create([ "toBinding" => [ '{"binding_type":"sms",…
Jithin Jose
  • 1,761
  • 2
  • 19
  • 35
3
votes
0 answers

Is it possible to call another flow from a widget in Twilio Studio?

It seems like it's possible if I call an HTTP Post to call the next Flow, but I was wondering if there's an easier way directly from a widget. It looks like I can't call the flow directly because I can't authenticate from a Flow widget.
3
votes
2 answers

New line not recognized by Twilio in PHP

Using PHP/Laravel. And the latest Twilio library 5.16.2 Followed this - https://support.twilio.com/hc/en-us/articles/223181468-How-do-I-add-a-line-break-in-my-SMS-message- And none of these work, they are sent as it is: %0a \n …
PlanetUnknown
  • 3,956
  • 4
  • 49
  • 67
3
votes
1 answer

Drop the first call and dial again using Twilio PHP for ringless voicemail

I read the following Twilio PHP API docs and it was successful I continued reading about ringless voice mail stackoverflow and that it is based on calling a number, then immediately calling the number from the same number again, followed by dropping…
kronus
  • 902
  • 2
  • 16
  • 34
3
votes
1 answer

Twilio sms reply feature

I've created a system based on cron job which generates new tasks for user. When new task is generated cron file sends a sms to user using twilio sms api. Now I want make something like when user reply to that sms with word "Done" that task…
Mr. Engineer
  • 3,522
  • 4
  • 17
  • 34
3
votes
3 answers

Twilio How to do pagination with messages?

I am able to get the messages from the new php client. How do I do pagination with messages? How to get next_uri, first_uri, page_size parameters ?
arun kumar
  • 703
  • 2
  • 13
  • 33
3
votes
3 answers

SMS Twilio API errors in command line but no errors in the browser but not sending messages

I had twilio working for some time now, but I wanted to make some changes and save the numbers that are coming with sending errors in a database to avoid sending them again, and somehow, Twilio stopped working. I used it from the browser which shows…
Hussam Hallak
  • 303
  • 4
  • 21
3
votes
1 answer

Defining the correct path to Twilio services directory

I don't have the ability to use composer to install twilio-php library so I am installing it manually. It is very confusing for me as a nubie to understand how to initiate a new service...notice the first require statement it points to a directory…
Gbrown
  • 31
  • 1
3
votes
1 answer

twilio mute not working outging calls

I am using function call() { // get the phone number to connect the call to params = {"PhoneNumber": $("#number").val()}; Twilio.Device.connect(params); } to make a call and function mute() { connection.mute(true); } to mute a…
nick
  • 31
  • 1
3
votes
1 answer

Twilio Messages are not sending in PHP

I am using twilio api for sending messages. Following is my script. $AccountSid = "xxxxxxxxxxxxx"; $AuthToken = "xxxxxxxxxxxx"; $from = 'xxxxxxx'; $to = '+91xxxxxxxxxxxxx'; $uri = 'https://api.twilio.com/2010-04-01/Accounts/' .$AccountSid .…
Ramya
  • 35
  • 4
3
votes
2 answers

Play hold music on Twilio Conference after it was started

I got two people in the same conference room #1, then I moved only one person to another conference #2, but kept the conference room #1 alive. I was expecting that Twilio plays the hold music for the person left alone in the conference #1 until the…
Brayan
  • 460
  • 2
  • 5
  • 17
1 2
3
47 48