Developers welcome! The mite.api is looking forward to your precious hacking. Have a look at the detailed documentation to kick-start your coding.

Get account

Get your account:

GET /account.xml
GET /account.json

Response

Status: 200 OK
{
   "account": {
      "id": 123,
      "name": "acme",
      "title": "Acme Inc",
      "currency": "USD",
      "created_at": "2013-10-12T14:39:51+01:00",
      "updated_at": "2015-05-02T13:21:09+01:00"
   }
}
Status: 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<account>
   <id type="integer">123</id>
   <name>acme</name>
   <title>Acme Inc</title>
   <currency>USD</currency>
   <created-at type="datetime">2013-10-12T00:00:00+01:00</created-at>
   <updated-at type="datetime">2014-11-02T13:21:09+01:00</updated-at>
</account>

Get the current user

Get the current authenticated user:

GET /myself.xml
GET /myself.json

Response

Status: 200 OK
{
   "user": {
       "id": 3456,
       "name": "Freddy Freelancer",
       "email": "freddy@email.com",
       "note": "",
       "archived": false,
       "role": "admin",
       "language": "en",
       "created_at": "2013-06-23T23:00:58+02:00",
       "updated_at": "2015-07-25T01:26:35+02:00"
   }
}
Status: 200 OK
<?xml version="1.0" encoding="UTF-8"?>
<user>
   <id type="integer">1</id>
   <name>Freddy Freelancer</name>
   <email>freddy@email.com</email>
   <note></note>
   <archived type="boolean">false</archived>
   <role>admin</role>
   <language>en</language>
   <created-at type="datetime">2013-06-23T23:00:58+02:00</created-at>
   <updated-at type="datetime">2014-02-14T00:33:26+01:00</updated-at>
</user>