You first need to go through documentation rather than asking random questions.
Ringcentral api expose fax API which you can integrate with the programing language of you choice.
You need to install different SDK of your choice.
For example, if you want to do it with php then there is RingCentral PHP SDK and copy the demo code from the link below.
You need to create an application at https://developers.ringcentral.com and add the Fax and any other required permissions to your app.
A number of SDKs also have built-in fax request helpers including:
There is Ruby SDK documentation:
You can also go through these to get better idea:
1 Person is following this question.