Installation
RootFi’ server-side helper libraries (also known as server-side SDKs) reduce the amount of work required to use RootFi’ REST APIs, starting with reducing the boilerplate code you have to write. Below are the installation instructions for these libraries in a variety of popular server-side programming languages. Open your project folder and run the following bash command on your terminal to install the RootFi SDK in your preferred language:Instantiate RootFi
In your server file, instantiate the RootFi instance with yourapiKey
. You should generate the API keys on the RootFi Dashboard and add them here.
Run your first SDK request
Now that you have the Node.js SDK installed, you can access RootFi’s APIs.1. Core API
2. Unified API
To demonstrate Core APIs, we use the following JavaScript code snippet to make a Create request for creating an invite link. In this example, we create a connect link while specifying thecompany name
, integration_categories
and integrations
: