APP - SMS Python - Sending From Different Phone Numbers

  • 2
  • Question
  • Updated 3 weeks ago
  • (Edited)
Hi,

I'm making a script to send SMS using the developper APP api. 
Currently, im able to send SMS with it and i got it in "Production" and it work fine. 

My issue is that it only use the Main Account Admin Phone Number. Its like that by default.

What i'd like to do is to send sms using any of my ring central number. (I've around 20 of them currently assign to my caller) 

How can i do that? Send SMS via my script/app but whit a different number?

Thanks,
Alex
Photo of Alex Desrosiers

Alex Desrosiers

  • 154 Points 100 badge 2x thumb

Posted 4 weeks ago

  • 2
Photo of atari800xl

atari800xl

  • 114 Points 100 badge 2x thumb
You could use Zapier. I know, lame response. We automate texts from each of our users accounts, each has to be set up in a separate zap in Zapier. Only thing is, if you have a phone tree like we do, you're unable to send from main number in Zapier. I have the opposite problem!
Photo of Alex Desrosiers

Alex Desrosiers

  • 154 Points 100 badge 2x thumb
I tried working whit Zapier in the past and had to give up on that option because it was not consistent. Sometime it was executing on the trigger that we had set and sometime it was not or it was skipping data. And we dont want to dont know who have been text and who hasnt. It cannot be random you know.. Thanks for your answer tho :) 
Photo of Alex Desrosiers

Alex Desrosiers

  • 154 Points 100 badge 2x thumb
And im basicly coding what zapier could've automated. At least my code will be executed how i want and i'll know if data has been skipped or wtv. So if i can fix this small problem, it'll be perfect and precise!
Photo of atari800xl

atari800xl

  • 114 Points 100 badge 2x thumb
What trigger were you using in Zapier? I've been using http post triggers with a catch hook in Zapier which has been working very well.
Photo of Alex Desrosiers

Alex Desrosiers

  • 154 Points 100 badge 2x thumb
Excel sheet row modification. It might be a communication problem between Zapier and Google Spreadsheet. Anyways, im not trying to work whit Zapier and my problem isnt really related to the execution/trigger of the request.Even if i'd use Zapier, i would'nt be able to text form different number. 
Photo of Tyler Long

Tyler Long, Official Rep

  • 8,152 Points 5k badge 2x thumb
You can specify the "from" parameter when sending an SMS. But you cannot just specify whatever number. You should check /restapi/v1.0/account/~/extension/~/phone-number for numbers available for you to send SMS.
Photo of Tyler Long

Tyler Long, Official Rep

  • 8,152 Points 5k badge 2x thumb
And you can login each extension to send SMS, of course.