Authentication

All apis uses token based authentication for authenticate all incoming requests. You should pass your access token in the Authorization header of each request in following format:

curl --location --request GET 'https://api.sembark.com/integrations/v1/ping' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer <TOKEN_HERE>'
var axios = require("axios");
var config = {
  method: "get",
  url: "https://api.sembark.com/integrations/v1/ping",
  headers: {
    Accept: "application/json",
    Authorization: "Bearer <TOKEN_HERE>",
  },
};
axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data));
  })
  .catch(function (error) {
    console.log(error);
  });
var request = require("request");
var options = {
  method: "GET",
  url: "https://api.sembark.com/integrations/v1/ping",
  headers: {
    Accept: "application/json",
    Authorization: "Bearer <TOKEN_HERE>",
  },
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
$curl = curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.sembark.com/integrations/v1/ping',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_TIMEOUT => 0,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Accept: application/json',
    'Authorization: Bearer <TOKEN_HERE>'
  ),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;

Generate Token

If you are an Admin of your organization, visit your organization's settings page. From there, open the Integrations tab and create a new integration. You will be prompted with an access token. You can use this token to access our REST Apis.

Image Showing how to generate new integration with access token

Share

Contact Us

Please feel free to contact us for your queries or demo requests. Provide your contact details and our team will connect you shortly afterwards.

Office Address

1, Plot No 177A, Shyam Enclave Sirsi, Jhotwara
Jaipur, Rajasthan, India - 302034


Enter the Captcha
re-captcha