These docs are for v1.0. Click to read the latest docs for v3.0.

This page will help you get started with rollMyFile JavaScript API to open hundreds of different file types on the Web.


API Is Still In Beta

At this time API is not open for use by everybody. If you are interested in early access, please drop us a note at [email protected] and we will be happy to let you in and show around.

Using rollMyFile API in JavaScript

On a page, where you want to let users open files, you simply do the following

<script type="text/javascript" src=""></script>

<script type="text/javascript">
    var key = "SeCur3AP1K3y";

    var rollMyFile = new RollMyFile(key);

And then all it takes to open a file is