Search

Make Call

Last Updated: Mar 15, 2021

Articles

Use this function to make a call from twilio to the verified given number.

Syntax

Make Call (token, account_sid, from_number, to_number)

Parameters

Input Parameter Name Description
token Used for authentication
account_sid Used for authentication
from_number Twilio registered number to make a call
to_number Twilio registered number to connect a call

To know more about token and account_sid, click here.

Returns

Return Value Description
Output
  • On Success returns 1 | Call Connected Successfully
  • On Failure returns 0 | Error Message

Sample

Make Call (ABCDCEF, QWERTY, +911234567890, +910987654321)

  • Uses token ABCDCEF and account_sid QWERTY to authenticate connection to Twilio, calls the number +910987654321 the number +911234567890.
    Returns Call Connected Successfully on connecting to the call.

To view all the Twilio functions, click here.

Did you find what you were looking for?