API Reference

Account

Read the authenticated account profile and usage summary.

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

Return account profile, plan, and usage summary.

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,
        "email": "you@example.com",
        "api_available": true
    },
    "meta": {
        "request_id": "uuid"
    }
}