Search

Make Call

Last Updated: Nov 4, 2020

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

Returns

Return Value Description
Output
  • On Success: 1, Call Connected Successfully
  • On Failure: 0, Error Message

Sample

Make Call (ABCDCEF, NC-45, 1234567890, 0987654321)

  • Uses the token ‘ABCDCEF’ and the account_sid ‘NC-45’ to authenticate the connection to the Twilio application, calls the number ‘1234567890’ from the number ‘0987654321’.
    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?