Accounts

The API functions for Accounts in Papershift

Get Account

Get account details for your papershift account

URL

https://app.papershift.com/public_api/v1/accounts

Method

GET

Parameters
ParameterTypeRequired
api_tokenStringrequired
Information

A successful request returns account details

Example
{
  "api_token" : "XXXX",
}
function getTargetHours() {
  $.ajax({
    url: "https://app.papershift.com/public_api/v1/accounts?api_token=6ooIiSZBwaFBLxveJkm7pP8uTOPLDL6QsOK",
    type: 'GET',
    dataType: 'json',
    data: JSON.stringify(params),
    complete: function (data) {
      console.log(data.responseText);
    }
  });
}
{
    "id": 123,
    "name": "Account Name"
}