Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6195341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:27:09+00:00 2026-05-24T03:27:09+00:00

I tried reading the REST api for call making over and over again but

  • 0

I tried reading the REST api for call making over and over again but this really makes no sense to me….I cant understand what to do…

Before I had a sequential dialing app in php using Twilio’s TwimML now using the rest api I am very confused….I would put the call handle url into the phone section now I have ABSOLUTELY no idea of where to get started or what to do, where to find the calls resource uri they are talking about or even how to execute my script and whether I can still use my php script or not I am really confused…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T03:27:10+00:00Added an answer on May 24, 2026 at 3:27 am

    There’s two interaction scenarios with Twilio that are handled by the REST API and TwiML. The REST API is for when you want to tell us to initiate an action and TwiML is for when we alert you to something happening so you can tell us what to do.

    Let me first explain what REST is in the context of Twilio. REST is a way of describing what URLs contain which data (also called resources) and the operations you can perform on that data. For example you can access /2010-04-01/Accounts/AC12345 to access the Account Instance resource for the account with a SID (string ID) of AC12345. An instance resource returns a representation (in JSON or XML) of a single instance of a given resource. We also have List resources like /2010-04-01/Accounts/AC12345/Calls that return a list of instance resources.

    To initiate a new outbound call you need to add a Call instance to the Calls list or in other words, post a call to the call list (which we then transmogrify into an actual phone call or text message). You do that by making an HTTP POST request to the /Calls resource with the data for the new call you want to create (To, From, Url, etc). The URL you specify points to a publicly-accessible URL that returns TwiML which we retrieve from you and use to control the call.

    The TwiML API is for when we need to know from you how to handle something. In the case of calls, we access your TwiML when either an incoming call is received (sent to the Voice URL on the phone number called) OR an outbound call that you initiated is answered by the recipient. In both cases, when the call is answered, we access the URL specified and step through the TwiML commands until they run out, ending the call.

    Resources:

    • About REST http://www.twilio.com/docs/api/rest/
    • About TwiML http://www.twilio.com/docs/api/twiml/
    • Quickstart (walks through sending and receiving both SMS and voice calls) http://www.twilio.com/docs/quickstart/
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried reading the documentation but I still don’t really understand how magento's xml
There are some question on the StackOverflow about facebook & email, but after reading
I have a web service I would like to consume with Javascript. I've tried
The function should return the rest of the words from the file, just not
I have tried every combination and permutation of meta tags that are supposed to
I have a JSON-based WS for my website and I get a non-stop requests
I'm having some difficulty understanding a certain aspect of the @async annotation, and possibly
Let's say I'm writing a bash script myscript.bash, which expects a single argument ($1).
I have a working application that downloads a specific file in the Ftp Server.
I am spinning my tires while beginning to build a jQuery plugin for Google

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.