Ximble

The Ximble Developer Hub

Welcome! We're excited that you're interested in the Ximble Platform. Our platform contains a set of open APIs and tools that enable you to bring Ximble’s workforce management tools to your application. Dive right in and get started!

Get Started

Authentication

Acquiring an access token from our Identity Server

Every request to the Ximble API must include an access token in the request header. These tokens need to be requested through authentication with our Identity Server, and are currently valid for one hour.

To retrieve the ACCESS_TOKEN, use the following endpoint:

$.ajax({
  type: 'POST',
  data: {
				"scope":"XimbleApi",
        "grant_type":"Partner",
        "AuthToken":API_Key,
    		"response_type": "token"
         },
  url: 'https://id.ximble.com/identity/connect/Token',
  async: false,
  headers: {
    Authorization: "Basic " + CLIENT_TOKEN,
    Content-Type: "application/x-www-form-urlencoded"
  },
  success: function(data) { 
  $("#ajax").html(data); 
  }
  
});
{
  "access_token": ACCESS_TOKEN,
  "expires_in": 720000,
  "token_type": "Bearer"
}