Connected Apps


Step 1:

Send your user to the authoriztion URL: https://portal.atomtask.com/authorize/?AppID={{YOUR_APP_ID}}

Step 2:

The user will enter their username and password in order to give your application access to their Atom Task account.

Step 3:

After the user has authorized you application to make API calls on it's behalf they will be redirected to the grant URL you specified when creating your APP. The userid and grant token for the user will be included as paramters in that request.

Step 4:

You can now manage tasks as the user by including your Connected_APP_ID, along with their Connected_USER_ID and Connected_User_Grant_Token.

APP_Group_By_ID APP_Max_Wait_Time APP_Min_Budget

Sample Connect APP API Request - Open Task




var authdata = "?Token={token}&UserID={userid}";
var ajaxdata = authdata + "&BrowserID={browserid}";

var url = 'https://api.browserbucket.com/GetData/' + ajaxdata;
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {

console.log(this.responseText);
var obj = JSON.parse(this.responseText);

}
};
xmlhttp.open('GET', url);
xmlhttp.setRequestHeader("Content-Type", "application/json");
xmlhttp.send();