Accounts
Note the API is currently in beta and is
disabled by default. Breaking changes may occur as we finalise the
functionality.
Contact us if you want to test the API and we'll turn it on for
your account.
List Accounts
Fetch a list of accounts you are a member of.
In this request, the account subdomain is optional as it's
obviously not tied to a specific account unlike all other API
calls.
GET https://minutebase.com/api/v1/accounts
Response
{
"current_page":1,
"per_page":25,
"total_entries":7,
"total_pages":1,
"results":
[
{
"created_at":1276626837,
"id":"4c17c795cf02a3020b000016",
"name":"MinuteBase",
"subdomain":"minutebase",
"timezone":"London",
"week_start":1
}
]
}
Get Account
GET https://minutebase.com/api/v1/accounts/:account_id
Where the :account_id can be either the ID of the
account (as returned by the list accounts call) or the account
subdomain.
Response
{
"created_at":1276626837,
"id":"4c17c795cf02a3020b000016",
"name":"MinuteBase",
"subdomain":"minutebase",
"timezone":"London",
"week_start":1
}
Update Account
PUT https://minutebase.com/api/v1/accounts/:account_id
Input
{
"name":"My Account",
"subdomain":"somewhere"
}
Note that updating the subdomain will break any existing links
to the account.
You can change the logo by sending logo as a multipart
file upload.
Response
{
"created_at":1276626837,
"id":"4c17c795cf02a3020b000016",
"name":"My Account",
"subdomain":"somewhere",
"timezone":"London",
"week_start":1
}