API Reference

Account

Read the authenticated account profile.

GET /account account:read https://staging-mobile.washeej.com/v1/account

Return the account id, username, email and plan_id.

cURL
curl -H "client-id: YOUR_CLIENT_ID" \
     -H "client-secret: YOUR_CLIENT_SECRET" \
     https://staging-mobile.washeej.com/v1/account
Response
{
    "ok": true,
    "data": {
        "id": 16,
        "username": "acme",
        "email": "you@example.com",
        "plan_id": 3
    },
    "meta": {
        "request_id": "uuid"
    }
}