question

Kt109 avatar image
Kt109 asked Peter MacIntyre answered

Fax and sms automation

I like to automate the Fax and Sms feature of RingCentral so these features can be triggered at a certain rate and interval of time.

Which API do I need to configure? Any API that can do this automation will be grat

rest api
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Anirban avatar image
Anirban answered

You can use programming language and automate those APIs. You can create your own scheduler and call the APIs at specific interval of time.

For example, in Java you can use Java scheduler to schedule and automate the call triggering.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Peter MacIntyre avatar image
Peter MacIntyre answered

Or you can write the API code in a language like PHP or Python and have a CRON trigger the code every X hours, or X days. You would need to configure the API with a specific "task" like SMS would look like this in PHP:

$apiResponse = $sdk->platform()->post('/account/~/extension/~/sms',
array('from' => array('phoneNumber' => $from),
'to' => array( array('phoneNumber' => $to) ),
'text' => $message ) );

You can do it in a loop of numbers and count the number of loopings so that you don't go over any limits, and set the time on the CRON to also not trigger so often that it exceeds any limitations. You also have to configure your RingCentral App to use the SMS and Fax portions of the API.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys