Accounts
The API functions for Accounts in Papershift
Get Account
Get account details for your papershift account
URLhttps://app.papershift.com/public_api/v1/accounts
MethodGET
ParametersParameter | Type | Required |
---|---|---|
api_token | String | required |
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"
}
Updated 29 days ago