Welcome to the Releans Developer Documentation.

Get started

The Releans libraries allow you to get up an running with Releans API quickly in your language of choice.


First, sign up for a Releans account if you don't already have one, and make a note of your API key on the dashboard API page.

To initialize and authenticate the API client, the following parameters need to be passed.

Parameter Type Description
OAuthAccessToken string OAuth 2.0 Access Token

The API client can be initialized as following.

curl https://platform.releans.com/api/ -H 'Authorization: Bearer {OAUTH_TOKEN}'
GET / HTTP/1.1
Host: {HOST}
Authorization: Bearer {OAUTH_TOKEN}
Releans.Configuration.OAuthAccessToken = "OAuthAccessToken";
Releans.ReleansClient client = new Releans.ReleansClient();
Releans.Configuration.oAuthAccessToken = "OAuthAccessToken";
Releans.ReleansClient client = new Releans.ReleansClient();
$oAuthAccessToken = 'OAuthAccessToken';

$client = new ReleansLib\ReleansClient($oAuthAccessToken);
o_auth_access_token = 'OAuthAccessToken'

client = ReleansClient(o_auth_access_token)
o_auth_access_token = 'OAuthAccessToken'

client = Releans.new(o_auth_access_token: o_auth_access_token)
var app = angular.module('myApp', ['Releans']);
app.run(function(Configuration) {
Configuration.oAuthAccessToken = 'OAuthAccessToken';

const lib = require('lib');
const configuration = lib.Configuration;

configuration.oAuthAccessToken = 'OAuthAccessToken';